Skip to content
HTML tree handling modules for Perl
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
inc Get default encoding from PERL_HTML_TREE_ENCODING Jun 1, 2013
lib/HTML as_XML inserted extra whitespace in comments Apr 26, 2014
t Use diag in 00system.t so the output is visible May 24, 2014
.gitignore Add lwp-test-* to .gitignore Jun 8, 2012
Build.PL Move htmltree to the bin directory Jun 1, 2012
README Add instructions for building with dzil Dec 10, 2012
TODO tweak docs Jun 21, 2010


HTML-Tree is a suite of Perl modules for representing, creating, and extracting information from HTML syntax trees.

This is a Git repository where development of HTML-Tree takes place. For more information, visit HTML-Tree on CPAN.

How to build HTML-Tree from this repo

The files in this repository need to be processed through Dist::Zilla in order to produce a distribution suitable for uploading to CPAN or installing on your machine. To do that:

  1. Install Dist::Zilla

     cpanm Dist::Zilla
  2. Install the dzil plugins used by HTML-Tree

     cd /path/to/your/HTML-Tree
     dzil authordeps --missing | cpanm

This example uses cpanm because it allows you to pipe a list of module names into it, but you don't have to use cpanm if you prefer another method of installing modules.

Then you can build a distribution with dzil build, build a distribution and run its tests with dzil test, or build a distribution and automatically upload it to CPAN with dzil release.

To learn more about Dist::Zilla, read its tutorial.

Copyright and License

This software is copyright 1995-1998 Gisle Aas; 1999-2004 Sean M. Burke; 2005 Andy Lester; 2006 Pete Krawczyk; 2010 Jeff Fearn; 2012 Christopher J. Madsen (Except the articles contained in HTML::Tree::AboutObjects, HTML::Tree::AboutTrees, and HTML::Tree::Scanning, which are all copyright 2000 The Perl Journal.)

Except for those three TPJ articles, the whole HTML-Tree distribution is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Those three TPJ articles may be distributed under the same terms as Perl itself.

The programs in this library are distributed in the hope that they will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

You can’t perform that action at this time.