On Wed, 20 May 2009, Roderick A. Anderson wrote:

> Try removing the '2>/dev/null' portion from the line in the script and
> rerun. I script seems to be testing if Date::Calc exists and 'if not'
> do some other stuff.

Rod,

   Yes, I saw that it's testing for the existance of Date::Calc and doesn't
seem to do anything specific if it's not there. But, the module exists so I
ignored that. Removing '2>/dev/null' makes no difference.

   What are the results of perl -d 'use Date::Calc'.

[rshep...@salmo ~]$ perl -d 'use Date::Calc'
Can't open perl script "use Date::Calc": No such file or directory

> Also check of you have multiple versions of Perl installed. You logged
> in as root may have a different path than cron does so gets the "Wrong
> Perl". (Apologies to Nick Park)

   No, only one /usr/bin/perl and nothing otherwise.

Thanks,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to