Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Using WWW::Mechanize

by chargrill (Parson)
on Apr 27, 2007 at 00:48 UTC ( #612301=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Using WWW::Mechanize
in thread Using WWW::Mechanize

If you're anything like me, it didn't work for me either. I added a last line:

else { print $mech->content }

... and got the following output:

LWP will support https URLs if the Crypt::SSLeay module is installed. More information at <http://www.linpro.no/lwp/libwww-perl/README.SSL>.

Try going there, reading that, and installing Crypt::SSLeay.



--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)


Comment on Re^3: Using WWW::Mechanize
Select or Download Code
Re^4: Using WWW::Mechanize
by akho (Hermit) on Apr 28, 2007 at 12:35 UTC
    Yep. I should've used autocheck => 1 in WWW::Mechanize->new's parameters; that would've reported it.

    autocheck => 1 is a good idea anyway.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://612301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-12-27 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls