Both LWP::Simple and CGI try to export a function called head and they have different prototypes. This can lead to badness - as you've seen.
However, you don't actually use either of these subroutines, so you just need to stop importing them (or, at least, one of them). Quickest fix is to change the use LWP::Simple line to:
--use LWP::Simple 'get';
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Re: Re: Crontab error!
by davorg
in thread Crontab error!
by Ozoz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |