Think about Loose Coupling | |
PerlMonks |
Re^5: Not able to use Net::SFTP module.by vinoth.ree (Monsignor) |
on Apr 30, 2014 at 05:27 UTC ( [id://1084432]=note: print w/replies, xml ) | Need Help?? |
Hi,
Oops! hold on a sec. In the BEGIN block you need to provide the path as below,
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. All is well
In Section
Seekers of Perl Wisdom
|
|