• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

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 )
0
shahrahulb
Asked:
shahrahulb
1 Solution
 
ozoCommented:
$mech->status()
HTTP::Status::status_message($mech->status())
0
 
shahrahulbAuthor Commented:
what about error code
0
 
Kim RyanIT ConsultantCommented:
From moduke documentation...

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

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now