|
|
| No such thing as a small change | |
| PerlMonks |
Re: Unlink files but not in pwdby grinder (Bishop) |
| on Mar 27, 2009 at 20:38 UTC ( #753770=note: print w/ replies, xml ) | Need Help?? |
|
With recent versions of File::Path you can do the following:
This will remove everything in the directory, but not delete /path/of/dir itself. update: oh, you want to unlink according to a pattern; I missed that on the first pass. • another intruder with the mooring in the heart of the Perl
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||