NAME

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

SYNOPSIS

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

Constructor

new( $url, $text, $name )

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

URL from the link

Text of the link

Name from the link tag

For the <A> tag, this is the HREF attribute. For <FRAME> or <IFRAME>, it's the SRC attribute.

Tag name (either "a", "frame" or "iframe").

Author

Copyright 2003 Andy Lester <andy@petdance.com>

Released under the Artistic License. Based on Kirrily Robert's excellent WWW::Automate package.