![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: simplify the codeby Zed_Lopez (Chaplain) |
on Oct 09, 2005 at 15:14 UTC ( #498576=note: print w/replies, xml ) | Need Help?? |
I wrote basically the same solution, but like having the loop variable (esp. since there's a use of $_ in the map.) We both changed the conditional in different ways, from ne '' in the original to evaluates true in yours, and to existence in mine.
In Section
Seekers of Perl Wisdom
|
|