in reply to WWW::Mechanize form

The forms method returns a list (or an arrayref in scalar context) of HTML::Form instances for each form in the page. Alternately you can use form_number or form_name to retrieve a specific form. You can call the action method on these instances to retrieve the URI.