open my $fh, '<', 'Somefile.txt'; my @file = <$fh>; close $fh; foreach my $line (reverse @file) { # Starts from the bottom of the list # instead of the top }
In reply to Re: Read file from bottom up
by Herkum
in thread Read file from bottom up
by Zcity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |