in reply to Re^4: Not able to use Net::SFTP module.
in thread Not able to use Net::SFTP module.
Oops! hold on a sec. In the BEGIN block you need to provide the path as below,
#! usr/bin/perl BEGIN { unshift (@INC, "/home/eankuls/.cpan/build/Net-SSH-Perl-1.37-AUG9Mn/bli +b/lib/"); }
Because, when you do use Net::SSH::Perl::Buffer Perl will replace :: to / and will search for Buffer.pm as Net/SSH/Perl/Buffer.pm in your @INC variable.
I am very sure if you change the path in BEGIN block it should work for you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Not able to use Net::SFTP module.
by marto (Cardinal) on May 07, 2014 at 08:05 UTC | |
|
Re^6: Not able to use Net::SFTP module.
by Ankur_kuls (Sexton) on May 01, 2014 at 04:33 UTC | |
by vinoth.ree (Monsignor) on May 01, 2014 at 17:55 UTC | |
by marto (Cardinal) on May 07, 2014 at 08:07 UTC | |
by Ankur_kuls (Sexton) on May 07, 2014 at 06:08 UTC | |
by marto (Cardinal) on May 07, 2014 at 08:24 UTC | |
by vinoth.ree (Monsignor) on May 08, 2014 at 05:35 UTC | |
|
Re^6: Not able to use Net::SFTP module.
by Ankur_kuls (Sexton) on May 01, 2014 at 04:58 UTC |