TS 5.5.2
Solaris 8
I am calling the following sub routine from a perl script. When I call this subroutine more than once with in the script I get no results the 2nd - nth time. Does anyone know if there are any problems with calling the File::Find module more than once with in a script?
sub get_dcr_ea_values{
my ($directory, $eaVal, $hashRef) =
@_;
my $return = "0";
my
@fileArray;
sub fileProcess {
my $filePath = $File::Find::name;
push(
@fileArray, $filePath);
return;
}
find(\&fileProcess, $directory);
foreach my $full_file (
@fileArray) {
do some stuff
}
return $return;
}