in reply to problem with WWW::Mech

When I dump the response-object that gets returned from the call to "get" I can see this line:
'x-died' => 'Illegal field name \'X-Meta-Article:publisher\' at /home/ +mh/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/x86_64-linux +/HTML/HeadParser.pm line 207.',
I think the x-died header is inserted when a die occurs somewhere, which would maybe explain why I don't see the full content.

Is there a way to hack around this?

Replies are listed 'Best First'.
Re^2: problem with WWW::Mech
by morgon (Priest) on Feb 11, 2017 at 21:24 UTC
    Ok.

    I've updated the HTML::HeadParser and all is fine again.