Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Re: Re: playing with mapby mirod (Canon) |
on Mar 09, 2001 at 23:28 UTC ( [id://63323]=note: print w/replies, xml ) | Need Help?? |
OK, I was not clear. I should have written "if act_on returns a list with more than one element" then the original code is not equivalent to a map (and I can play with fonts too ;--). If act_on returns a scalar or a 1 element list then the original code behaves the same way as a map.
In Section
Seekers of Perl Wisdom
|
|