It doesn't work because the get and follow methods create a new HTTP::Request object every time.
req returns the HTTP::Request that was used in the last request, not the one that will be used in the next - so yes, a little late in the process :-)
In reply to Re^3: WWW::Mechanize and basic authentication
by adrianh
in thread WWW::Mechanize and basic authentication
by iguanodon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |