btobin0 has asked for the wisdom of the Perl Monks concerning the following question:
"requires explicit package name" Please help.
use strict; use warnings; package Net::SFTP; my %args = (ssh_args => {}); $args(user) = $user $args(password) = $password $args(ssh_args)->(port) = 22; my $sftp = Net::SFTP->($host, %args); my $user = 'test@testserver'; my $password = 'password';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SFTP Compile Errors
by Corion (Patriarch) on Feb 29, 2008 at 08:51 UTC | |
|
Re: SFTP Compile Errors
by stiller (Friar) on Feb 29, 2008 at 08:49 UTC | |
|
Re: SFTP Compile Errors
by moritz (Cardinal) on Feb 29, 2008 at 08:47 UTC |