Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Personal library with CPAN

by monkfan (Curate)
on May 18, 2006 at 05:20 UTC ( #550159=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use CGI ':standard';
    use Mail::Sendmail;
    
  2. or download this
    $ perl -c test.cgi
    
    # it gives
    
    test.cgi syntax OK
    
  3. or download this
    $ perl -cT test.cgi
    
    It gives:
    Can't locate Mail/Sendmail.pm in @INC (@INC contains: ~/lib/perl5/site
    +_perl/5.8.5/ /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/pe
    +rl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr
    +/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/sit
    +e_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i
    +386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thre
    +ad-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/
    +lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/per
    +l5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site
    +_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /
    +usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl
    +5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_per
    +l/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386
    +-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-threa
    +d-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr
    +/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/li
    +b/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/p
    +erl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl
    +5/vendor_perl) at temp.cgi line 4.
    BEGIN failed--compilation aborted at temp.cgi line 4.
    
  4. or download this
    #!/usr/bin/perl -w
    use CGI ':standard';
    use lib "/lib/perl5/site_perl/5.8.5/";
    use lib "/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi";
    use Mail::Sendmail;     
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-09-30 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (381 votes), past polls