in reply to
Re: how could I use map here?
in thread
how could I use map here?
or even simpler:
@array2 = map /^(?:chop_me_off)?(.*)/, @array2;
m// in list context returns a list of $1, $2, ...
-- Hofmator
Comment on
Re: Re: how could I use map here?
Download
Code
In Section
Seekers of Perl Wisdom