in reply to select line from file
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
|
|---|