in reply to Re^2: Parsing HTML into various files
in thread Parsing HTML into various files

From the error message it looks like $parser is undef. So it is probably the previous line

my $parser = HTML::TokeParser::Simple->new(...);
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."