Milleniumlegend
IS-IT--Management
- Dec 16, 2003
- 135
I am getting the following Warning when trying to run the perl script. Could some one let me know what might be wrong.
Argument "CA-PAYMENT-REPLACE.gnt" isn't numeric in exists at Scandir.pl line 128
.
Code:
foreach $f (@files) {
my $tstamp; # timestamp for the files in foreach loop
next if ($f eq ".");
next if ($f eq "..");
# Add files to Hash if they do not exist.
# Add Filestamp to Hash.
if (! exists $binfiles[$f]) {
$fl = "$path\/$f";
$tstamp = &gettimestamp($fl);
&addtobintimestamp($fl, $tstamp);
}
.