There's more than one way to do things | |
PerlMonks |
Re: conditional statement works one way, but not the otherby choroba (Cardinal) |
on May 15, 2014 at 08:41 UTC ( [id://1086116]=note: print w/replies, xml ) | Need Help?? |
You can't use for/foreach in an expression. You can replace it with map easily, though.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|