I'm having a bit of trouble trying to make use of Net::SSH::Expect. I've started getting dependent libraries and set PERL5LIB to add my custom path because I don't have root access. I tried using cpan, but it always tries to use paths I don't have access to. Next, I tried just moving the .pm files into my custom path's lib folder (~/myperl/lib). That eliminated some errors, but now I keep getting this:
Can't locate loadable object for module IO::Tty in @INC (@INC contains: lots of paths and ~/myperl/lib) at ~/myperl/lib/IO/Tty.pm line 30
Compilation failed in require at ~/myperl/lib/IO/Pty.pm line 7.
BEGIN failed--compilation aborted at ~/myperl/lib/IO/Pty.pm line 7.
Compilation failed in require at ~/myperl/lib/Expect.pm line 22.
BEGIN failed--compilation aborted at ~/myperl/lib/Expect.pm line 22.
Compilation failed in require at ~/myperl/lib/Net/SSH/Expect.pm line 10.
BEGIN failed--compilation aborted at /~/myperl/lib/Net/SSH/Expect.pm line 10.
Compilation failed in require at myprogram.pl line 6.
BEGIN failed--compilation aborted at myprogram.pl line 6.
Does anyone have a surefire way to get this library working without having to be root? All responses will be greatly appreciated.