my @args = qw/ perl -i -ne 'print unless eof' filename /; system(@args) == 0 or die "error with deleting last line";
In reply to Re: Re: Deleting last line of file
by Anonymous Monk
in thread Deleting last line of file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |