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.

In reply to Re^3: File::Find stalls by loveperl0721
in thread File::Find stalls by loveperl0721

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.