WWW::Mechanize::Link - Link object for WWW::Mechanize


WWW-Mechanize documentation  | view source Contained in the WWW-Mechanize distribution.

Index


NAME

Top

WWW::Mechanize::Link - Link object for WWW::Mechanize

SYNOPSIS

Top

Link object to encapsulate all the stuff that Mech needs but nobody wants to deal with as an array.

Constructor

Top

new()

    my $link = WWW::Mechanize::Link->new( {
        url  => $url,
        text => $text,
        name => $name,
        tag  => $tag,
        base => $base,
        attr => $attr_href,
    } );

For compatibility, this older interface is also supported:

 new( $url, $text, $name, $tag, $base, $attr_href )

Creates and returns a new WWW::Mechanize::Link object.

Accessors

Top

SEE ALSO

Top

WWW::Mechanize and WWW::Mechanize::Image

COPYRIGHT & LICENSE

Top


WWW-Mechanize documentation  | view source Contained in the WWW-Mechanize distribution.