Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: Deleting Files in Perl, Thursday November 29, 2007 at 17:11:01

You are here: irt.org | About | Feedback | 5164 [ previous next ]

Feedback on:
Deleting Files in Perl

Sent by
Viraj Dixit on Thursday November 29, 2007 at 17:11:01

Worth:
Very worth reading

Length:

Technical:

Comments:
It works as it should, but in my case how do I delete all the jpg files in a directory in a sub-routine like this. I used your commands but no luck.


sub ClearForm {
@filelist = ("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;




Other feedback on 'Deleting Files in Perl' - show all

©2018 Martin Webb