Link to home
Start Free TrialLog in
Avatar of shahrahulb
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 )
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shahrahulb
shahrahulb

ASKER

what about error code
From moduke documentation...

$mech->status()
Returns the HTTP status code of the response.