in reply to Re: Reading file into two arrays
in thread Reading file into two arrays

This will work if
    ( $array[$.-1], $arraynew[$.-1] ) = split;
is
    ( $array[$.-1], $arraynew[$.-1] ) = split ' ', $_, 2;
(see below).


Give a man a fish:  <%-(-(-(-<