in reply to WWW::Mechanize follow_link()
you are getting your error since you're passing one element: the url. In fact, you don't need to use follow_link, just use:$mech->follow_link( text => "download", n => 3 )
If you're trying to download the images (looks like it from your regex), you may simply do:$mech->get($_->url);
$mech->mirror($_->url_abs, "some_local_file_name");
|
|---|