persianswallow has asked for the wisdom of the Perl Monks concerning the following question:
Hi,i have written following code to delete files that produce between running program after use,but it doesn't work.please help me
@files = ("domainlist","result","tmp"); foreach $file (@files) { unlink($file); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: delete file
by Corion (Patriarch) on Aug 01, 2011 at 10:22 UTC | |
|
Re: delete file
by moritz (Cardinal) on Aug 01, 2011 at 10:26 UTC | |
|
Re: delete file
by bart (Canon) on Aug 01, 2011 at 11:15 UTC | |
|
Re: delete file
by dreadpiratepeter (Priest) on Aug 01, 2011 at 11:16 UTC |