Guest User

Untitled

a guest
Oct 25th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. use strict;
  2. use Net::SFTP;
  3.  
  4. my $host = "....";
  5.  
  6. my %args = (
  7. user => 'user',
  8. password => 'root',
  9. debug => 'false'
  10. );
  11.  
  12. my $sftp = Net::SFTP->new($host, %args);
  13. print "connected!";
  14.  
  15. Can't locate Net/SFTP.pm in @INC (@INC contains: C:/Dwimperl/perl/site/lib C:/Dw imperl/perl/vendor/lib C:/Dwimperl/perl/lib .) at 1.pl line 51. BEGIN failed--compilation aborted at 1.pl line 51.
Add Comment
Please, Sign In to add comment