>>>>> "TS" == Tolkin, Steve <[EMAIL PROTECTED]> writes:
TS> Checking if your kit is complete...
TS> Looks good
TS> Warning: prerequisite LWP::UserAgent 2.024 not found. We have 1.004.
TS> Warning: prerequisite Test::LongString 0 not found.
TS> Warning: prerequisite URI 1.25 not found. We have 1.19.
TS> Writing Makefile for WWW::Mechanize
use CPAN.pm which can install prerequisites for you. no need for a bundle.
TS> if ( !$skiplive ) {
TS> require IO::Socket;
TS> my $s = IO::Socket::INET->new(
TS> PeerAddr => "www.google.com:80",
TS> Timeout => 10,
TS> );
TS> I think my proxy is set up correctly.
TS> C:\perl_install\WWW-Mechanize-1.14>env | grep -i proxy
TS> FTP_PROXY=http://proxbos1.fmr.com:8000
TS> HTTP_PROXY=http://proxbos1.fmr.com:8000
the common proxy you refer to is if you use an HTTP client such as LWP
or WWW::Mechanize or a browser. IO::Socket knows not from any protocols
or proxies as it is a direct connection to a socket (any socket). there
is no standard socket proxy protocol (there are programs which will do
socket redirection). the problem is that you can't redirect on the fly
and sockets don't have any way of conveying out of band data (yes there
is socket OOB but it is rarely used). so how would the socket proxy know
that google.com:80 means to first connect to your proxy and then
redirect to that host/port address? web proxies are connect to from a
client which then sends a web request (inband and in the proxy format)
which then get connected to the real url.
TS> How can I learn more about why IO::Socket::INET->new failed?
it failed because fidelity doesn't allow direct access to the outside
world on port 80 (or any other port). all web access is via proxies.
i wouldn't worry about passing the tests as mechanize is very stable in
general. just install the dependencies you want (some may be optional)
and install mechanize. mechanize will obey proxies since it subclasses
LWP which does the web work.
uri
--
Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm