Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

When i try to post a request on a page i will get a error "Error Posting Internal server error"and my perl script aborts. But this is expected behavior and i want my perl script to continue instead of aborting. how can u do this ?

Replies are listed 'Best First'.
Re: Problem with "www.mechanize"
by Anonymous Monk on Mar 04, 2011 at 09:30 UTC
    1) no such perl thing as www.mechanie 2) this is faq, turn off autocheck ( read about it in documentation ), or wrap the call in eval { }
      I am using "$cfg{mech_session}->click()" to click one button using www.mechanize . but the page has error because of this my perl script is aborting. But i dont want the perl script to abort. I want that to proceed. How to make the script to proceed instead of aborting ?