loveperl0721 has asked for the wisdom of the Perl Monks concerning the following question:
The code compiles clean under ActivePerl 5.8.9 on WinXP. The version of File::Find is 1.13. The issue is that neither of the print statements generate any output. Gotta believe I am doing something wrong, but exactly what, has not hit me yet. Any ideas on what I am doing wrong? Thanks.use strict; use warnings; use File::Find; my $in_dir = "C:\\temp"; my $rc = q{}; sub select_files { print ("function was entered\n"); } $File::Find::prune = 0; $rc=find(\&select_files, $in_dir); print ("find returned with $rc\n"); exit(0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File::Find stalls
by Anonymous Monk on Nov 10, 2010 at 03:40 UTC | |
by loveperl0721 (Novice) on Nov 10, 2010 at 12:57 UTC | |
by loveperl0721 (Novice) on Nov 10, 2010 at 13:32 UTC | |
by loveperl0721 (Novice) on Nov 10, 2010 at 17:26 UTC | |
by loveperl0721 (Novice) on Nov 10, 2010 at 19:42 UTC | |
by loveperl0721 (Novice) on Nov 10, 2010 at 13:43 UTC |