Don't ask to ask, just ask | |
PerlMonks |
Re: Deleting specified files and directoriesby Eureka_sg (Monk) |
on May 14, 2001 at 12:11 UTC ( [id://80163]=note: print w/replies, xml ) | Need Help?? |
Hi , when you use unlink you need to specify the full pathname of the file, such as unlink "$basedir/$mesgdir/$file" Check out this node Re: File Attributes in Win32 for my reply to a similiar problem : ) UPDATE: Put the pathname in double quotes. Thanks to MeowChow's reminder
In Section
Seekers of Perl Wisdom
|
|