my ( $first, $last ) = `head -1 $filename && tail -1 $filename`; [download]
In reply to Re^2: Reading Lines from Text file by graff in thread Reading Lines from Text file by Anonymous Monk