This will work if
( $array[$.-1], $arraynew[$.-1] ) = split;
is
( $array[$.-1], $arraynew[$.-1] ) = split ' ', $_, 2;
(see below).
Give a man a fish: <%-(-(-(-<
In reply to Re^2: Reading file into two arrays
by AnomalousMonk
in thread Reading file into two arrays
by subr01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |