Perhaps this isn't a void context, since the output of the map is being returned from the sub? It would be odd to return an array given that you passed an array ref, but ... I suppose you could wrap the maps in [] and fix that up.
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In reply to Re: Re: Fast search/replace?
by arturo
in thread Fast search/replace?
by weingart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |