If act_on returns a list then all members are pushed into @old.In a list context, act_on must return a list! And map (and the map-equivalents) are providing list context.
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: Re: playing with map
by merlyn
in thread playing with map
by coolmichael
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |