in reply to Re^2: How to send queries to a website
in thread How to send queries to a website

As it says in $mech->submit_form( ... ) in WWW::Mechanize, $mech->submit_form returns an HTTP::Response object. You can query that object using methods such as $result->code() and $result->content() to see what was returned.