go ahead... be a heretic | |
PerlMonks |
Re: Splitting multiline scalars into different array entriesby broquaint (Abbot) |
on Aug 05, 2005 at 11:12 UTC ( [id://481189]=note: print w/replies, xml ) | Need Help?? |
If you want to update the original data just change the my @results = to @AoA =. Also you could use Scalar::Util::first there instead of grep if you're looking for an optimal solution.
HTH
_________
In Section
Seekers of Perl Wisdom
|
|