in reply to WWW::Mechanize - Could not connect to a server
Are you behind a proxy?
If you are, WWW::Mechanize respects your $ENV{HTTP_PROXY} environment variable - you could try setting that in your program to whatever your browser is set to.
Update: Just checked the Mech FAQ, How to use mech through a proxy might be of interest, too
--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
In Section
Seekers of Perl Wisdom