XML::All

XML::All is a Perl module that contains overloaded XML objects.
Download

XML::All Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Audrey Tang
  • Publisher web site:
  • http://search.cpan.org/~adamk/Module-Install-0.68/lib/Module/Install/PAR.pm

XML::All Tags


XML::All Description

XML::All is a Perl module that contains overloaded XML objects. XML::All is a Perl module that contains overloaded XML objects.SYNOPSIS use XML::All; my $xml = < < a href='/' >1 < b >2< /b > < em >3< /em >< /a > >; print $$xml; # a print join ", ", @$xml; # 1, < b >2< /b >, < em >3< /em > print join ", ", %$xml; # href, '/' print $xml->b(); # < b >2< /b > print $xml->b() * 10; # 20 print $xml->(); # 1 $$xml = 'link'; print $xml; # < link href='/' >...< /link > my $em = $xml->em + < hr/ >; print $em; # < em >3< hr / >< /em > $xml -= < em/ >; print $xml; # < link href='/' >1 < b >2/b > < /link > $xml->( b => sub { $$_ = 'em' } ); print $xml; # < link href='/' >1 < em >2/em> < /link >This module provides a handy wrapper around XML::Twig and XML::Literal to provide easy accessors to the XML structures.


XML::All Related Software