Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my @array = find(\&collect_file, $dirphoto); for (@array) { print "$_<br>"; } } sub collect_file { my @array; push (@array, $File::Find::name); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: return an array from File::Find
by jwkrahn (Abbot) on Mar 30, 2008 at 20:54 UTC | |
|
Re: return an array from File::Find
by CountZero (Bishop) on Mar 30, 2008 at 21:01 UTC | |
|
Re: return an array from File::Find
by ForgotPasswordAgain (Vicar) on Mar 30, 2008 at 20:21 UTC | |
by Anonymous Monk on Mar 31, 2008 at 12:39 UTC | |
|
Re: return an array from File::Find
by ww (Archbishop) on Mar 30, 2008 at 21:00 UTC | |
|
Re: return an array from File::Find
by FunkyMonk (Bishop) on Mar 30, 2008 at 21:05 UTC | |
by CountZero (Bishop) on Mar 30, 2008 at 21:16 UTC |