Can't locate Carp/Heavy.pm ? please help!

Discussion in 'Perl Misc' started by joe, Apr 10, 2004.

  1. joe

    joe Guest

    Hi I get this error when i run my script from cron
    Can't locate Carp/Heavy.pm in @INC (@INC contains: AI::Categorize) at
    /usr/local/lib/perl5/5.8.2/Carp.pm line 178, <STDIN> line 1.
    fetchmail
    when i run it form console i dont get any erros
    the file Heavy.pm is where it should be
    when i do perl -V from cron all the @incs paths look the same as when i do
    it from console. i am running perl 5.8.2 but i have also intalled 5.6.1
    please help.
    joe, Apr 10, 2004
    #1
    1. Advertising

  2. joe

    John Bokma Guest

    joe wrote:

    > Hi I get this error when i run my script from cron
    > Can't locate Carp/Heavy.pm in @INC (@INC contains: AI::Categorize) at
    > /usr/local/lib/perl5/5.8.2/Carp.pm line 178, <STDIN> line 1.
    > fetchmail
    > when i run it form console i dont get any erros
    > the file Heavy.pm is where it should be
    > when i do perl -V from cron all the @incs paths look the same as when i do
    > it from console. i am running perl 5.8.2 but i have also intalled 5.6.1
    > please help.


    which perl version on console, which via cron?

    --
    John personal page: http://johnbokma.com/

    Experienced Perl / Java developer available - http://castleamber.com/
    John Bokma, Apr 10, 2004
    #2
    1. Advertising

  3. John Bokma <> wrote:

    > joe wrote:
    >
    > > Hi I get this error when i run my script from cron
    > > Can't locate Carp/Heavy.pm in @INC (@INC contains: AI::Categorize) at
    > > /usr/local/lib/perl5/5.8.2/Carp.pm line 178, <STDIN> line 1.
    > > fetchmail
    > > when i run it form console i dont get any erros the file
    > > Heavy.pm is where it should be when i do perl -V from cron all
    > > the @incs paths look the same as when i do it from console. i
    > > am running perl 5.8.2 but i have also intalled 5.6.1 please
    > > help.

    >
    > which perl version on console, which via cron?


    Things must be really screwy if it's the 5.6.1 version complaining
    about an error in a 5.8.2-specific directory.

    Peter


    --
    #!/local/bin/perl5 -wp -*- mode: cperl; coding: iso-8859-1; -*-
    # matlab comment stripper (strips comments from Matlab m-files)
    s/^((?:(?:[])}\w.]'+|[^'%])+|'[^'\n]*(?:''[^'\n]*)*')*).*/$1/x;
    Peter J. Acklam, Apr 10, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Minti
    Replies:
    4
    Views:
    845
    John C. Bollinger
    Feb 12, 2004
  2. Louis Erickson
    Replies:
    2
    Views:
    196
    James Willmore
    Sep 3, 2003
  3. Jo Oberman
    Replies:
    5
    Views:
    202
    Ilya Zakharevich
    Sep 14, 2003
  4. Gunnar Hjalmarsson

    CGI::Carp and "useless quotes"

    Gunnar Hjalmarsson, Apr 4, 2004, in forum: Perl Misc
    Replies:
    12
    Views:
    197
    Gunnar Hjalmarsson
    Apr 16, 2004
  5. Wolfram Humann
    Replies:
    3
    Views:
    211
    Ilya Zakharevich
    Oct 22, 2010
Loading...

Share This Page