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.
$link->url()
URL from the link
$link->text()
Text of the link
$link->name()
Name from the link tag
For the <A>
tag, this is the HREF
attribute. For <FRAME>
or <IFRAME>
, it's the SRC
attribute.
$link->tag()
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.