in reply to Re: Fast search/replace?
in thread Fast search/replace?

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

Replies are listed 'Best First'.
Re: Re: Re: Fast search/replace?
by weingart (Acolyte) on Feb 14, 2001 at 01:14 UTC
    I modify the original array (have to). Don't care if I pass it back, it would be a void context.