in reply to Re: Follow up: String Formatting
in thread Follow up: String Formatting

I guess it is not a question of reference counts then. I have tried the following
$ssh->login($username, "$password");
and
my $newpass = $password; $ssh->login($username, $newpass);
and
$ssh->login($username, scalar($password));
All to no avail. The only thing that has worked is either me hardcoding the password into my script or me using the Data::Dumper technique.