Search::Tools::XMLSearch::Tools::XML are methods for playing nice with XML and HTML. | |
Download |
Search::Tools::XML Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Peter Karman
- Publisher web site:
- http://search.cpan.org/~karman/CatalystX-CRUD-0.17/lib/CatalystX/CRUD/Tutorial.pod
Search::Tools::XML Tags
Search::Tools::XML Description
Search::Tools::XML are methods for playing nice with XML and HTML. Search::Tools::XML are methods for playing nice with XML and HTML.SYNOPSIS use Search::Tools::XML; my $class = 'Search::Tools::XML'; my $text = 'the "quick brown" fox'; my $xml = $class->start_tag('foo'); $xml .= $class->utf8_safe( $text ); $xml .= $class->end_tag('foo'); # $xml: the "quick brown" fox $class->escape( $xml ); # $xml: the "quick brown" fox $class->unescape( $xml ); # $xml: the "quick brown" fox my $plain = $class->no_html( $xml ); # $plain eq $textSearch::Tools::XML provides utility methods for dealing with XML and HTML. There isn't really anything new here that CPAN doesn't provide via HTML::Entities or similar modules. The difference is convenience: the most common methods you need for search apps are in one place with no extra dependencies.NOTE: To get full UTF-8 character set from chr() you must be using Perl >= 5.8. This affects things like the unescape* methods. Requirements: · Perl
Search::Tools::XML Related Software