NAME

Web::Magic::Util - Web::Magic's dumping ground

SYNOPSIS

use Web::Magic;
# Web::Magic automatically includes Web::Magic::Util

DESCRIPTION

This module is a helper for Web::Magic. End users probably don't need to worry about this module directly.

XML::LibXML::NodeList methods

XML::LibXML 1.91 and above adds some handy methods to XML::LibXML::NodeList: map, grep, sort, reverse, foreach and reduce.

This module backports them to XML::LibXML 1.70+.

That said, XML::LibXML 1.91+ is recommended for other reasons. The XML::LibXML::AttributeHash feature is useful for concise, readable code. The examples in the Web::Magic documentation often assume that you have at least version 1.91. (And you should probably use at least 1.93 for the overloading "==" bug fix.)

SEE ALSO

Web::Magic, XML::LibXML::NodeList.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2012 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.