![]() |
Can't locate Carp/Heavy.pm ? please help!
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. |
Re: Can't locate Carp/Heavy.pm ? please help!
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/ |
Re: Can't locate Carp/Heavy.pm ? please help!
John Bokma <postmaster@castleamber.com> 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; |
| All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.