whnwhrwhy has asked for the wisdom of the Perl Monks concerning the following question:
Thanks!!!sub ClearForm { @filelist = glob("C:/Program Files/Apache Group/Apache2/htdocs/frames/ +*.jpg"); unlink @filelist; print "<center><h2>All old frames have been deleted</h2></center><p>\n +"; &PrintForm; }
20071130 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Delete files with Perl in Windows
by ikegami (Patriarch) on Nov 29, 2007 at 23:12 UTC | |
by codeacrobat (Chaplain) on Nov 30, 2007 at 06:41 UTC | |
by ikegami (Patriarch) on Nov 30, 2007 at 08:58 UTC | |
by halley (Prior) on Nov 30, 2007 at 14:21 UTC | |
by ikegami (Patriarch) on Nov 30, 2007 at 19:52 UTC | |
|
Re: Delete files with Perl in Windows
by tachyon-II (Chaplain) on Nov 29, 2007 at 23:15 UTC | |
|
Re: Delete files with Perl in Windows
by moritz (Cardinal) on Nov 29, 2007 at 23:07 UTC | |
|
Re: Delete files with Perl in Windows
by TGI (Parson) on Nov 30, 2007 at 19:09 UTC | |
|
Re: Delete files with Perl in Windows
by Anonymous Monk on Dec 04, 2007 at 03:37 UTC |