in reply to problem accessing file

I am curious: why isn't this good enough for your purposes:

my $last_line; $last_line = $_ while < FH >; parse( $last_line );
? I realize that in this snippet the parsing of the last line is happening after you hit eof, but what I don't see is what exactly you gain from parsing the last line before hitting eof.

the lowliest monk