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?
In reply to Re^2: Perl app won't compile /run from cron
by haukex
in thread Perl app won't compile /run from cron
by dazz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |