in reply to File::Find stalls

It works here (Strawberry Perl v5.12.0, MSWin32-x86-multi-thread; File::Find version 1.15).

See if you can upgrade to, or at least try the code from, File::Find 1.15.

Replies are listed 'Best First'.
Re^2: File::Find stalls
by loveperl0721 (Novice) on Nov 10, 2010 at 12:57 UTC
    I upgraded to File::Find 1.15 and the results are the same. I am going to try using the built-in perl debugger to track this issue down. Thanks.
      I used the built in perl debugger. Here is the result of that exercise.
      M:\My Documents\Code\perl>perl -d test6.pl Loading DB routines from perl5db.pl version 1.31 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(test6.pl:5): my $in_dir = "C:\\tmp"; DB<1> l 5==> my $in_dir = + "C:\\tmp "; 6 7 sub select_files { 8: print ("function was entered\n"); 9 } 10 11: $File::Find::prune = 0; 12: unless (find(\&select_files, $in_dir)) { 13: print ("Find failed with $!\n"); 14 } DB<1> n main::(test6.pl:11): $File::Find::prune + = 0; DB<1> n main::(test6.pl:12): unless (find(\&select_files, $in_dir)) { DB<1> n main::CODE(0x1e57a58)(C:/Perl/site/lib/Cwd.pm:752): 752: $ENV{'PWD'} = Win32::GetCwd(); 99 levels deep in subroutine calls! DB<1>
      You will notice that I added some debugging code in an effort to figure out what is going on, but again none of it fired. Thanks.
        I checked and found that I am using Cwd 3.33, which is the most recent version on CPAN. I am going to dig some more. Thanks.
        Folks: After re-installing ActivePerl 5.8.9 the latest build and still getting the same error, I decided to just capture an inventory of non-core installed modules and start from scratch with ActivePerl 5.12. Thanks again for your assistance.
        Folks: I think I found my problem. In reviewing my system configuration I discovered that I had multiple versions of ActivePerl installed. Not sure how that happened, but it sure explains a lot. Let the re-build begin. Thanks again.