Have you actually tried renaming a file to the empty string on Windows?
S:\>echo >tr2 S:\>perl -e "rename 'tr2','' or warn $!" No such file or directory at -e line 1. S:\>
It wasn't really all that awkward to test that part now was it?
/J\
In reply to Re: What is the best way to delete a file in windows using Perl?
by gellyfish
in thread What is the best way to delete a file in windows using Perl?
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |