in reply to Re: Print all lines in a file except the last two
in thread Print all lines in a file except the last two
You can remove the pops and change the print to print@f[0..$#f-2] for a savings of 13 strokes.
----
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.
|
---|
In Section
Seekers of Perl Wisdom