Not sure if this is the best way....if($line2 =~ /[HAVE\s(.*)]/){ my @array = split(/,/, $2); foreach my $num(@array){ print $num."\n"; } }
In reply to Re: String Matching
by mattwortho
in thread String Matching
by mattwortho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |