in reply to Input Type Error when setting up a SSH connection with Net::SSH::Perl
It'd help if you set $pass. You can avoid these types of errors with use strict;.
use strict; ... print "Enter your username: "; chomp(my $user = <STDIN>); print "Enter your pass on that host: "; chomp(my $pass = <STDIN>); ...
Hope this helps.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Input Type Error when setting up a SSH connection with Net::SSH::Perl
by Anonymous Monk on Jul 15, 2003 at 11:24 UTC | |
|
Re: Re: Input Type Error when setting up a SSH connection with Net::SSH::Perl
by BananaJoe (Initiate) on Jul 15, 2003 at 11:27 UTC |