in reply to
truncate or trunc
To expand on what
Fletch
said,
truncate
requires two parameters, the second being the length of the file you wish to have left. Did you specify anything other than the filehandle?
Comment on
Re: truncate or trunc
In Section
Seekers of Perl Wisdom