Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Solved: map on array referenceby kcott (Archbishop) |
on Feb 16, 2016 at 09:55 UTC ( [id://1155347]=note: print w/replies, xml ) | Need Help?? |
G'day natxo, I see you've marked this as "Solved"; however, I thought I'd point out that, because map aliases $_ to each element of the list, you can do your substitution in-place. E.g.
— Ken
In Section
Seekers of Perl Wisdom
|
|