HTML::TreeBuilderX::ASP_NET::Roles::htmlElement -- An easy hack for HTML::Element
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.
->httpRequest
HTML::TreeBuilderX::ASP_NET->new_with_traits( traits => ['htmlElement'] ); ## returns a HTTP::Request for the form $root->look_down( '_tag' => 'a' )->httpRequest( $hashRef );
FOR ALL DOCS
HTML::TreeBuilderX::ASP_NET
To install HTML::TreeBuilderX::ASP_NET, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::TreeBuilderX::ASP_NET
CPAN shell
perl -MCPAN -e shell install HTML::TreeBuilderX::ASP_NET
For more information on module installation, please visit the detailed CPAN module installation guide.