http://www.perlmonks.org?node_id=1002902


in reply to Simple perl question

use lib '/home/ss1880/Date-Calc-6.3/lib/Date/';
Try changing that to:
use lib '/home/ss1880/Date-Calc-6.3/lib';

See also:

Replies are listed 'Best First'.
Re^2: Simple perl question
by nua7 (Initiate) on Nov 08, 2012 at 14:13 UTC
    Almost the same error :
    Can't locate Carp/Clan.pm in @INC (@INC contains: /home/ss1880/Date-Ca +lc-6.3/li. BEGIN failed--compilation aborted at /home/ss1880/Date-Calc-6.3/lib/Da +te/Calc/P. Compilation failed in require at /home/ss1880/Date-Calc-6.3/lib/Date/C +alc.pm li. BEGIN failed--compilation aborted at /home/ss1880/Date-Calc-6.3/lib/Da +te/Calc.p. Compilation failed in require at test1.pl line 3. BEGIN failed--compilation aborted at test1.pl line 3.
      Before you do anything else, read Writeup Formatting Tips (as I already advised), and update your posts using "code" tags for your error messages and Perl code. Your posts are difficult to understand.
      Those error messages are incomplete. My best guess is that Carp::Clan is not installed yet.
        So sorry..here's the updated error messages.
        Can't locate Carp/Clan.pm in @INC (@INC contains: /home/ss1880/Date-Ca +lc-6.3/lib /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi /opt/pe +rl_32/lib/5.8.8 /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-threa +d-multi /opt/perl_32/lib/site_perl/5.8.8 /opt/perl_32/lib/site_perl / +opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/pe +rl_32/lib/vendor_perl/5.8.8 /opt/perl_32/lib/vendor_perl .) at /home/ +ss1880/Date-Calc-6.3/lib/Date/Calc/PP.pm line 18. BEGIN failed--compilation aborted at /home/ss1880/Date-Calc-6.3/lib/Da +te/Calc/PP.pm line 18. Compilation failed in require at /home/ss1880/Date-Calc-6.3/lib/Date/C +alc.pm line 37. BEGIN failed--compilation aborted at /home/ss1880/Date-Calc-6.3/lib/Da +te/Calc.pm line 43. Compilation failed in require at test1.pl line 3. BEGIN failed--compilation aborted at test1.pl line 3.