Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Protocol scheme 'http' is not supported

by ggerke (Novice)
on Jul 27, 2012 at 20:44 UTC ( #984098=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $mech = WWW::Mechanize->new;
    $mech->get('http://www.perlmonks.com/');
    print $mech->content;
    
  2. or download this
    $ ls -l /usr/lib/perl5/site_perl/5.8.8/WWW
    total 104
    ...
    
    cpan[5]> install HTTP::Response
    HTTP::Response is up to date (6.03).
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://984098]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2014-07-24 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls