You seem to be opposed to solving your problem, which stems from differences between what WWW::Mechanize sends and what LWP::UserAgent sends.
It can't be a "bad One-Off" of LWP, because both of your programs ultimately rely on LWP. WWW::Mechanize presents a more browser-like API+state for LWP::UserAgent, so things likely are different between using WWW::Mechanize and LWP::UserAgent.
But as you don't seem too interested in finding the differences, and also don't seem too interested in finding out how WWW::Mechanize works, I wonder what part of your question I'm missing. Maybe you can rephrase your question to help us help you better?
In reply to Re^5: A case where Mechanize works, LWP doesn't
by Corion
in thread A case where Mechanize works, LWP doesn't
by dneedles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |