Your code as provided runs fine for me:
$ perl 11155543.pl <p>foo</p> <p>bar</p> trololo OK $
If that isn't what you want/expect then you will need to show what you do expect also.
🦛
In reply to Re^3: Seemingly Valid HTML which crashes HTML::TreeBuilder::XPath
by hippo
in thread Seemingly Valid HTML which crashes HTML::TreeBuilder::XPath
by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |