use strict; use warnings; use Test::More tests => 1; use HTML::TreeBuilder::LibXML; my $tree = HTML::TreeBuilder::LibXML->new; $tree->parse( '
this that
' ); $tree->eof; is $tree->as_XML, '
this that
';