Exports
NAME HTML::Tag::Exports
SYNOPSIS
use HTML::Tag::Exports;
say tag(text => 'I am a paragraph').render;
# <p>I am a paragraph</p>
say tag('span', :text('In a span zone'));
# <span>In a span zone</span>
DESCRIPTION
Use'ing HTML::Tag::Exports will place the "tag" key into your current
scope, and this tag will give you a shorthand for calling
HTML::Tag::<whatever>.new -- in that you instead call
tag('whatever') instead.
Options given after the tag name string, which must be the first parameter, are passed along as-is to the HTML tag.
AUTHOR
Mark Rushing [email protected]
LICENSE
This is free software; you can redistribute it and/or modify it under the Artistic License 2.0.