Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: unlink fails to delete files with perculiar namesby Eliya (Vicar) |
on Nov 22, 2011 at 10:45 UTC ( [id://939421]=note: print w/replies, xml ) | Need Help?? |
The OP doesn't say how $targ was set. It's merely speculation that he assigned it using a double-quoted literal. It might just as well have come from a readdir or whatever. Also, why would unlink have returned 1, as the OP states? That should only have happened in the (unlikely) case there also was a file 'D:/Users/Dave/Documents/Personal/CV/~ Vitae - 09 June 2007.doc' around at the time of the unlink call.
In Section
Seekers of Perl Wisdom
|
|