As a result, I am getting a no such directory error when I try to rename(move) filename.
Not true. rename doesn't care about the doubled slash, because the system doesn't care about the doubled slash.
$ mkdir -p x/x $ perl -e'rename "x//x", "x//y" or die' $ ls -l x total 4 drwx------ 2 ikegami pg1404028 4096 2010-01-14 23:55 y
Also tested on Windows.
In reply to Re: File::Find problems
by ikegami
in thread File::Find problems
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |