Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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. thanksopen(file, .. ) or die { foreach $line (<file>) { # replace each line with empty line .. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cleaning file
by pileofrogs (Priest) on Aug 21, 2006 at 21:02 UTC | |
|
Re: Cleaning file
by Fletch (Bishop) on Aug 21, 2006 at 20:17 UTC | |
|
Re: Cleaning file
by graff (Chancellor) on Aug 22, 2006 at 05:32 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |