Evan Carroll > HTML-TreeBuilderX-ASP_NET-0.09 > HTML::TreeBuilderX::ASP_NET::Roles::htmlElement

Download:
HTML-TreeBuilderX-ASP_NET-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

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

HTML::TreeBuilderX::ASP_NET

syntax highlighting: