NAME
HTML::TreeBuilderX::ASP_NET::Roles::htmlElement -- An easy hack for HTML::Element
DESCRPITION
A simple 15 line trait for HTML::TreeBuilderX::ASP_NET with a nicer more transparent API. It adds the method ->httpRequest
to HTML::Element objects that will return an HTTP::Request that represents the state of the form. It reflects all of its arguments back to the HTML::TreeBuilderX::ASP_NET constructor.
SYNOPSIS
HTML::TreeBuilderX::ASP_NET->new_with_traits(
traits
=> [
'htmlElement'
] );
## returns a HTTP::Request for the form
$root
->look_down(
'_tag'
=>
'a'
)->httpRequest(
$hashRef
);
SEE ALSO
FOR ALL DOCS