Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: deleting a list of filesby a (Friar) |
on Mar 25, 2001 at 10:29 UTC ( [id://66972]=note: print w/replies, xml ) | Need Help?? |
If you: opendir(ims, ... your dir handle is "ims", as in 'readdir ims'. The grep is to remove unix files . and .. the current and parent dir links. readdir returns just the filenames, not the whole path, so your chdir will work, but so should his prepend of the path, as in (perldoc -f readdir):
a
In Section
Seekers of Perl Wisdom
|
|