Think about Loose Coupling | |
PerlMonks |
Re: A better (ie.more concise) way to write this?by johngg (Canon) |
on Dec 14, 2013 at 12:47 UTC ( [id://1067134]=note: print w/replies, xml ) | Need Help?? |
Not as succinct as some of the other answers but possibly of interest.
Update: Much more concise if you make the transform subroutine operate on $_ by default.
Update 2: Just noticed that isn't working properly so will have to investigate why :-( Update 3: Got it!
Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|