in reply to Better Solution To WWW::Mechanize Basic Authentication
See the get_basic_credentials method in the callback section of LWP::UserAgent. Mech inherits from LWP::UA.
Update: credentials(), afaict, takes 4 parameters, not two. Perhaps that is the root of the reason it isn't working. Reached for my favorite hammer when a screwdriver was already provided.
Update 2: Per almut in Re^4: Better Solution To WWW::Mechanize Basic Authentication, I stand corrected. Two parameter version is quite correct.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Better Solution To WWW::Mechanize Basic Authentication
by Limbic~Region (Chancellor) on Oct 19, 2009 at 15:51 UTC | |
by MidLifeXis (Monsignor) on Oct 19, 2009 at 16:26 UTC | |
by almut (Canon) on Oct 19, 2009 at 16:52 UTC | |
by MidLifeXis (Monsignor) on Oct 19, 2009 at 17:04 UTC | |
by Limbic~Region (Chancellor) on Oct 19, 2009 at 17:14 UTC | |
by MidLifeXis (Monsignor) on Oct 19, 2009 at 17:45 UTC |