in reply to Re: Perl app won't compile /run from cron
in thread Perl app won't compile /run from cron

Sounds like the module was installed with local::lib, which should normally set its environment variables in .profile/.bashrc. Anyway, did you try the solutions suggested in that link? For example prepending PERL5LIB=/home/pi/perl5/lib/perl5 to the command in your crontab?

Replies are listed 'Best First'.
Re^3: Perl app won't compile /run from cron
by dazz (Beadle) on May 24, 2018 at 11:16 UTC
    Hi
    The "missing" modules were installed with CPAN that has chosen to put them in my home dir.

    Dazz