The first argument of split is a regular expression, use it like this,
I changed your variable names to look less like an array, and added sigils to make it look like perl.while (<FH>) { chomp; my ($first, $second, $third, $fourth) = split /\+|\s/; # do stuff }
After Compline,
Zaxo
In reply to Re: select line from file
by Zaxo
in thread select line from file
by help
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |