Anyways, if you want to remove the characters manually, you could just use Tie::File and then chop($tied_file[-1]) twice.
Or slurp the thing into a scalar, chop twice, and then dump it back out to file.
In reply to Re: Remove Extra bytes at end of file
by wojtyk
in thread Remove Extra bytes at end of file
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |