Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Parsing HTML into various filesby psini (Deacon) |
on Aug 25, 2010 at 08:48 UTC ( [id://857111]=note: print w/replies, xml ) | Need Help?? |
From the error message it looks like $parser is undef. So it is probably the previous line which fails. Check if $parser is defined, and if the filename is valid; I don't think that HTML::TokeParser::Simple->new returns an error message, so best chance is that the file name is invalid. Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In Section
Seekers of Perl Wisdom
|
|