in reply to Bugs in File::Find on Windows
But you say you don't want to do that. Is &wanted doing any directory traversal itself? If it is, I'd suggest making sure you're using the Cwd version of chdir, else perl may have a hard time keeping track of where it is. -Greguse Cwd 'chdir';# Explicitly export Cwd::chdir (will maintain $ENV{PW +D} ) my $dir = getcwd();#exported from Cwd by default use File::Find; find( \&wanted, "C:" ); chdir $dir; my @st = stat "C:bar.txt";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bugs in File::Find on Windows
by jdporter (Paladin) on Feb 16, 2007 at 00:14 UTC | |
by eric256 (Parson) on Feb 16, 2007 at 01:05 UTC | |
by jdporter (Paladin) on Feb 16, 2007 at 02:01 UTC | |
by ikegami (Patriarch) on Feb 16, 2007 at 02:43 UTC | |
by liverpole (Monsignor) on Feb 16, 2007 at 03:03 UTC | |
|