"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';
In reply to SFTP Compile Errors by btobin0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |