in reply to return an array from File::Find

Why do you insist on returning the array from find?

my @array; find(sub { push @array, $File::Find::name }, $dirphoto);

Replies are listed 'Best First'.
Re^2: return an array from File::Find
by Anonymous Monk on Mar 31, 2008 at 12:39 UTC
    Thank you - this worked perfectly for me.