in reply to Re^3: Better Solution To WWW::Mechanize Basic Authentication
in thread Better Solution To WWW::Mechanize Basic Authentication
credentials(), afaict, takes 4 parameters, not two.
Later versions also do support two parameters. From the Changes file:
1.20 Sat Aug 19 09:09:08 EDT 2006 [ENHANCEMENTS] * Added new two-argument form of credentials() method. $mech->credentials($username, $password); That provides simpler visiting of password-protected resources in the vast majority of cases and still allows the other cases to be supported. (Peter Scott)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Better Solution To WWW::Mechanize Basic Authentication
by MidLifeXis (Monsignor) on Oct 19, 2009 at 17:04 UTC |