L
lerameur
hello,
I am getting an error while I am using the SCP put command:
here is the error:
Use of uninitialized value in die at ./spam_parsing.pl line 259,
<GEN2> line 2.
Died at ./spam_parsing.pl line 259, <GEN2> line 2.
from the line code 259:
$SCP->put("$file_to_put") or die SCP->{"errstr"};
print "Putting file and quitting \n";
It is logging in fine but the script exits when it reaches this
command.
I did put a print out to the "$file_to_put " file right before the
$SCP->put(".. line and it prints out fine, so the file is not a
problem.
anyone has an idea?
k
I am getting an error while I am using the SCP put command:
here is the error:
Use of uninitialized value in die at ./spam_parsing.pl line 259,
<GEN2> line 2.
Died at ./spam_parsing.pl line 259, <GEN2> line 2.
from the line code 259:
$SCP->put("$file_to_put") or die SCP->{"errstr"};
print "Putting file and quitting \n";
It is logging in fine but the script exits when it reaches this
command.
I did put a print out to the "$file_to_put " file right before the
$SCP->put(".. line and it prints out fine, so the file is not a
problem.
anyone has an idea?
k