SPUG: loading a module
Tim Maher
tim at consultix-inc.com
Wed Aug 10 18:49:57 PDT 2005
On Wed, Aug 10, 2005 at 07:22:56PM -0600, Medrano-Zaldivar, L E wrote:
> Gang,
>
> I have this problem I install the module Net::Blogger but perl has some problem loading this particular module. I have this script:
>
> #!/usr/bin/perl
> use Net::Blogger;
>
> when I ran it I have this error:
It seems most likely that you don't have the module on your system.
To fix that problem, somebody (perhaps your SA, or you) needs to run
a command like this one (showing a Unix example):
shell$ perl -M'CPAN' -e shell
... then when you get the prompt:
cpan> install Net::Blogger
If you end up doing this as a non-privileged user, you'll also
need to set the PERL5LIB variable to point to the installation directory,
as in:
shell$ export PERL5LIB="$PERL5LIB:$HOME/my_modules"
Hope that helps,
*--------------------------------------------------------------------------*
| Tim Maher, PhD (206) 781-UNIX (866) DOC-PERL (866) DOC-UNIX |
| tim(AT)Consultix-Inc.Com http://TeachMePerl.Com http://TeachMeUnix.Com |
*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*
| Watch for my Fall, 2005 book: "Minimal Perl for UNIX/Linux People" |
| See http://minimalperl.com for details, ordering, and email-list signup |
*--------------------------------------------------------------------------*
More information about the spug-list
mailing list