Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Modifying Script From Net::SFTP to Net::SFTP::Foreign

by poj (Abbot)
on Apr 10, 2019 at 15:53 UTC ( #1232409=note: print w/replies, xml ) Need Help??


in reply to Modifying Script From Net::SFTP to Net::SFTP::Foreign

Run this script and post the result to show module versions

#!/usr/bin/perl use strict; use Net::SFTP; use Net::SFTP::Foreign; use Net::SSH::Perl; printf "%s %s\n",$^O,$^V; printf "Net::SFTP %s\n",$Net::SFTP::VERSION; printf "Net::SFTP::Foreign %s\n",$Net::SFTP::Foreign::VERSION; printf "Net::SSH::Perl %s\n",$Net::SSH::Perl::VERSION;
"Not a HASH reference at /root/backup/backswitch.pl line 20."

Which is line 20 ?

poj

Replies are listed 'Best First'.
Re^2: Modifying Script From Net::SFTP to Net::SFTP::Foreign
by CaptainK9 (Initiate) on Apr 10, 2019 at 18:36 UTC

    linux v5.10.1

    Net::SFTP 0.10

    Net::SFTP::Foreign 1.81

    Net::SSH::Perl 1.37

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-07-12 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?