#! usr/bin/perl use strict; use warnings; use Net::SFTP; use Net::SSH::Perl::Buffer; my $host = "*************"; my $userid = "****"; my $pwd = "******"; my $f = Net::SFTP->new($host) or die "couldn't connect"; $f->login($userid, $pwd) or die "couldn't login"; print "successfully logged in\n"; #### error: Can't locate Net/SSH/Perl/Buffer.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.14.2/Net/SFTP/Buffer.pm line 6. BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Net/SFTP/Buffer.pm line 6. Compilation failed in require at /usr/local/share/perl/5.14.2/Net/SFTP/Attributes.pm line 7. BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Net/SFTP/Attributes.pm line 7. Compilation failed in require at /usr/local/share/perl/5.14.2/Net/SFTP.pm line 8. BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Net/SFTP.pm line 8. Compilation failed in require at ankur_ftp.pl line 5. BEGIN failed--compilation aborted at ankur_ftp.pl line 5.