in reply to Reference is experimental

my(@tmp) = <FILEHANDLE>; shift $tmp[0];

What do you expect these two lines of code to do?

Did you maybe want to write

my(@tmp) = <FILEHANDLE>; shift @tmp; # remove headers

Replies are listed 'Best First'.
Re^2: Reference is experimental
by ikegami (Patriarch) on Oct 20, 2016 at 18:22 UTC
    Which could also be written as
    my (undef, @tmp) = <FILEHANDLE>;