Perl-Sensitive Sunglasses | |
PerlMonks |
Re: This could have DWIM betterby radiantmatrix (Parson) |
on Mar 01, 2006 at 21:48 UTC ( [id://533766]=note: print w/replies, xml ) | Need Help?? |
If you're worried about polluting other's namespaces, why don't you just override the function locally? I started with japhy's modification and produced this:
You could even modularize this pretty easily:
Then you could just use Func::Smarter 'length';, yes?
<-radiant.matrix->
A collection of thoughts and links from the minds of geeks The Code that can be seen is not the true Code I haven't found a problem yet that can't be solved by a well-placed trebuchet
In Section
Meditations
|
|