in reply to Re: Why does cron kill this script??
in thread Why does cron kill this script??
Not declaring $p with my yields:use strict; use HTML::TokeParser; my $p = HTML::TokeParser->new(shift); my $token = $p->get_tag("a"); [jeffa@trinity perl]$ ./bar.pl asdfsdaf Can't call method "get_tag" on an undefined value at ./bar.pl line 7.
So i'd put my money on the bet that strict is not being used or $p was declared earlier. More likely getting home paths mixed up.Global symbol "$p" requires explicit package name ...
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR F--F--F--F--F--F--F--F-- (the triplet paradiddle)
|
|---|