|Keep It Simple, Stupid|
Re^3: LWP Authorisation issue (not really)by Anonymous Monk
|on Feb 25, 2013 at 12:39 UTC||Need Help??|
Plus,Do u seek any issue in my code?
I see some issues, but I don't know if fixing them will help you
I see you didn't use strict/warnings to cut your development time in half!
I see you don't dump in handler but do something else
I see you check the value of show_progres instead of turning it on
You use the bareword TIMEOUT for timeout
I see add your own Basic header and use/credentials -- I don't know what that will do, but that is kind of the purpose behind LWP, to do that for you
Also, WWW::Mechanize can simplify your LWP::UserAgent interaction, no need for constant status_line checks as it will die for you,
WWW::Scripter is a Mechanize helper