Re: WWW::Mechanize question

2014-11-04 Thread John SJ Anderson
well, are you passing the authentication credentials when you create the LWP useragent? IIRC, there's a whole section in the LWP documentation on HTTP basic auth... (also, you might want to consider taking your questions over to 'beginn...@perl.org' -- not sure there are that many people on this

Re: WWW::Mechanize question

2014-11-03 Thread John SJ Anderson
Hi Billy - Are any of the forms in the templates displayed conditionally? (I.e., are there forms inside IF blocks in the templates.) If not -- if all the forms are always shown -- then yes, the numbers should be stable. My suggestion would be to just add unique identifiers to the forms, because

Re: WWW::Mechanize question

2014-11-03 Thread Patton, Billy N
Thanks, Some times it is conditional, depending on admin rights. But your right I should add a name to each of them, it would make things much easier. Just can’t do it to the current production version. Guess I need to make copy and test that one :) On Nov 3, 2014, at 8:50 AM, John SJ Anderson

Re: WWW::Mechanize question

2014-11-03 Thread Patton, Billy N
I’ve gotten everything copied and working from the Chrome, but when I execute my test script I get : ok 1 - In sub main::login ok 2 -: 49 : Credentials passed ok Error GETing http://cportal-test.dfw0.hypercube-llc.com/html/cp.cgi: Authorization Required at