|
|
| There's more than one way to do things | |
| PerlMonks |
Protocol scheme 'http' is not supportedby ggerke (Novice) |
| on Jul 27, 2012 at 20:44 UTC ( #984098=perlquestion: print w/ replies, xml ) | Need Help?? |
|
ggerke has asked for the
wisdom of the Perl Monks concerning the following question:
Most wise and virile Monks, please show me the error of my ways. I'm having what I think is a problem with modules (not) being installed but I'm not finding the one that's actually causing me grief. I've got the following:
that generates the following: Uncaught exception from user code: Error GETing http://www.perlmonks.com/: Protocol scheme 'http' is not supported at ./test2.pl line 9. at /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 2751. WWW::Mechanize::_die('Error ', 'GET', 'ing ', 'URI::http=SCALAR(0x10dbc80)', ': ', 'Protocol scheme \'http\' is not supported') called at /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 2738 WWW::Mechanize::die('WWW::Mechanize=HASH(0xed47d0)', 'Error ', 'GET', 'ing ', 'URI::http=SCALAR(0x10dbc80)', ': ', 'Protocol scheme \'http\' is not supported') called at /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 2385 WWW::Mechanize::_update_page('WWW::Mechanize=HASH(0xed47d0)', 'HTTP::Request=HASH(0x10dbea0)', 'HTTP::Response=HASH(0x1162710)') called at /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 2217 WWW::Mechanize::request('WWW::Mechanize=HASH(0xed47d0)', 'HTTP::Request=HASH(0x10dbea0)') called at /usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 410 LWP::UserAgent::get('WWW::Mechanize=HASH(0xed47d0)', 'http://www.perlmonks.com/') called at /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 407 WWW::Mechanize::get('WWW::Mechanize=HASH(0xed47d0)', 'http://www.perlmonks.com/') called at ./test2.pl line 9 I'm "blessed" with using at Perl 5.8.8 on a RHEL 5.8 server and getting up to current isn't a healthy option at this time. As far as WWW::Mechanize I've got the following on the machine:
I'm just not seeing what I'm missing in order to get just this little bit 'o code to run. Help me, Obi Perl - you're my only hope.
Back to
Seekers of Perl Wisdom
|
|