#!perl use strict; use warnings; use XML::LibXML; use HTML::HTML5::Parser; my $p = HTML::HTML5::Parser->new(); my $doc = $p->parse_file('file:///this/doesnotexist.html', { ignore_http_response_code => 1, }, ); print $doc->toString; #### Use of uninitialized value $c_type in pattern match (m//) at /home/corion/perl5/lib/perl5/HTML/HTML5/Parser.pm line 59.