in reply to Read File Backword
Caveat:thoroughly untest!use Tie::File; my @ray=(); tie @ray,"Tie::File","myfile" or die $!; for(my $i=$#ray;$i>=0; $i--){ my $line=$ray[$i]; # do something with it... } untie @ray;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Read File Backword
by gjeffrey (Acolyte) on Jul 27, 2004 at 19:44 UTC | |
by pg (Canon) on Jul 27, 2004 at 19:50 UTC |