i have a script using File::Find to search for a file (obviously). my problem is when i pass a var, like this:
my $dir = "e:\/";
find(\&search_sub, $dir);
i get an error: Can't stat to e:/: No such file or directory. it wouldn't have anything to do with the fact that e:/ is a cd drive would it? i tried the same script using c:/ and it worked fine, and i have other scripts which access e:/ in the same way with no errors. also if i leave off the trailing slash i get the same error except it says permission denied, i've tried this as admin and gotten the same error (i'm on an NT system) and i am just lost... if anybody has any ideas i'd appreciate it