Skip Menu |

This queue is for tickets about the String-Clean CPAN distribution.

Report information
The Basics
Id: 31781
Status: new
Priority: 0/
Queue: String-Clean

People
Owner: Nobody in particular
Requestors: notbenh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.021



Subject: It would be nice to have the opt for a global yaml?
This is more of a feature request, though it would be nice to have a global YAML for clean_by_yaml so that you could start to use the String::Clean object to do the work for you instead of having to build a one-off sub that will do nothing more then add in the YAML. example: sub clean_thing { my ( $string ) = @_; my $yaml = q{ ... SOME YAML ...}; return $global_cleaner->clean_by_yaml($yaml,$string); } This should have the added benefit of allowing for one object to be passed around, or at least encourage that more. -- -- benh~