How about this:
use Tie::File; use strict; my @ry=(); tie @ry,"Tie::File","myfile" or die "$!"; my $line=$ry[$#ry]; untie @ry; print $line;
In reply to Re: tail -1 emulation efficiency
by blue_cowdawg
in thread tail -1 emulation efficiency
by woodstea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |