in reply to Modifying Script From Net::SFTP to Net::SFTP::Foreign
Run this script and post the result to show module versions
"Not a HASH reference at /root/backup/backswitch.pl line 20."#!/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;
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 |
In Section
Seekers of Perl Wisdom