Hi Sean,
In your given example, $l becomes a link object, so you go:
$l->url(); to get the URL, for example.
After using your code below, look at this page:
http://search.cpan.org/~petdance/WWW-Mechanize-1.66/lib/WWW/Mechanize/Link.pm
That will show you how to use $l.
Hope that helps,
Ben
On 2
Hi All.
I am wondering how do you extract properties from objects. If we use
WWW:Mechanize as an example. How would you get the properties of the first
link. Lets say:
my $l = $mec->find_link (text => 'link');
So I would like to find out the text of the link, URL, attribs, etc. This is
just a