in reply to
How to erase the file content
try this system(": > $filename");
Comment on
Re: How to erase the file content
In Section
Seekers of Perl Wisdom