html -> xml::document converter
HTML Perl6
Switch branches/tags
Nothing to show
Latest commit bc7a573 Jan 25, 2017 @tony-o NS updates
Failed to load latest commit information.
lib/HTML/Parser Fix a bug with shitty html where the wrong tag receive a / ending (eg… Sep 10, 2015
t NS updates Jan 25, 2017
.gitignore NS updates Jan 25, 2017
.travis.yml travis testing Nov 15, 2014 NS updates Jan 25, 2017 readme Apr 22, 2014
prove added return value too Apr 22, 2014

#Perl 6: HTML::Parser::XML;

This module will read HTML and attempt to build an XML::Document ( ##Features:

  • Automatically closes certain tags if certain other tags are encountered
  • Parses dirty HTML fairly well (AFAIK), submit a bug if it doesn't
  • Perl6 Magicness

##Status: Bugs/feature requests Maintenance mode


my $html   = LWP::Simple.get('');
my $parser =;
$parser.xmldoc; # XML::Document


my $html   = LWP::Simple.get('');
my $parser =;
my $xmldoc = $parser.parse($html);

Contact me, segomos on irc.freenode #perl6 (segomos)

License: Artistic 2.0