Perl Monk, Perl Meditation | |
PerlMonks |
Re^4: Failed array attempby stevieb (Canon) |
on May 13, 2012 at 22:16 UTC ( [id://970348]=note: print w/replies, xml ) | Need Help?? |
If you are going to be "using this scheme a lot", I'd recommend you upgrade, or re-review this post I wrote which is similar to your original code in your question but it actually works. Admittedly, I didn't even think to use smartmatch, so kudos to tobyink for that. Without smartmatch, I believe you have to do it in two steps.
In Section
Seekers of Perl Wisdom
|
|