my @lines = <FILE>; while (my $line = pop @lines) { # do something } [download]
In reply to Re: how to read a file in backwards? by ercparker in thread how to read a file in backwards? by redss