2007fld has asked for the wisdom of the Perl Monks concerning the following question:
use Net::SFTP;
use Net::SFTP::Attributes $lib_dir;
The script does not complain not finding the module.
But when I used something I found from web:
1. perl -MFile::Find=find -MFile::Spec::Functions -lwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'
2. perl -MNet::SFTP -e l
Either method finds the pm.
If I do have the module, where is it?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Do I have Net::SFTP module installed on my Sun Solaris?
by salva (Canon) on Aug 20, 2009 at 15:57 UTC | |
by 2007fld (Acolyte) on Aug 20, 2009 at 16:23 UTC | |
|
Re: Do I have Net::SFTP module installed on my Sun Solaris?
by moritz (Cardinal) on Aug 20, 2009 at 15:45 UTC | |
|
Re: Do I have Net::SFTP module installed on my Sun Solaris?
by Illuminatus (Curate) on Aug 20, 2009 at 15:56 UTC | |
|
Re: Do I have Net::SFTP module installed on my Sun Solaris?
by alexm (Chaplain) on Aug 20, 2009 at 19:37 UTC | |
|
Re: Do I have Net::SFTP module installed on my Sun Solaris?
by trwww (Priest) on Aug 21, 2009 at 05:18 UTC |