shahrahulb
asked on
www:;mecahnize
i m using mechanize module to request the url from server
$mech->get( $url );
$mech->submit_form(blah... .....)
how do i get the error meesge (text and code both )
$mech->get( $url );
$mech->submit_form(blah...
how do i get the error meesge (text and code both )
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
From moduke documentation...
$mech->status()
Returns the HTTP status code of the response.
$mech->status()
Returns the HTTP status code of the response.
ASKER