in reply to How to call a function on each item after a split?
Use an array for the items:
I'm too lazy to be proud of being impatient.
my @items = split(/\|/, $str); foreach my $item(@items){ ...#whatever }
I'm too lazy to be proud of being impatient.
|
---|
In Section
Seekers of Perl Wisdom