in reply to Split using multiple conditions
Nother alternative is to remove the brackets first, then split.
my ($nobrackets = $_) =~ s/(\[|\])//g; my @feeder_line = split ' ', $nobrackets;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Split using multiple conditions
by kaif (Friar) on Jun 13, 2005 at 01:56 UTC |
In Section
Seekers of Perl Wisdom