HTML-AutoTag
view release on metacpan or search on metacpan
lib/HTML/AutoTag.pm view on Meta::CPAN
print $auto->tag(
tag => 'ol',
attr => {qw( reversed reversed )},
cdata => [
map { tag => 'li', attr => \%attr, cdata => $_ }, @data
]
);
=head1 DESCRIPTION
Generate nested HTML (HTML4, XHTML and HTML5) tags with custom indentation,
custom encoding and automatic attribute value rotation.
=head1 METHODS
=over 4
=item * C<new()>
Accepts the following arguments:
( run in 0.526 second using v1.01-cache-2.11-cpan-119454b85a5 )