in reply to What is the best way to delete a file in windows using Perl?

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\

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.