Keep It Simple, Stupid | |
PerlMonks |
Cleaning fileby Anonymous Monk |
on Aug 21, 2006 at 20:11 UTC ( [id://568672]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
Is there an easy and save way to do a clean on a file using perl?
We have a log file that we need to empty every week but leave the file as is without overwritting it or renaming ..etc
I was thinking of somthing like
I know there got to be an easy way to do it in perl , I am trying to sechdule this to run as a cron on a windows machine . Any advice is apprecitated. thanks
Back to
Seekers of Perl Wisdom
|
|