Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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/ 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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-11-30 00:55 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls