Stupid Perl/Apache Question - Fixed!

Brian Chabot brian at datasquire.net
Wed Dec 13 15:56:15 EST 2006


Ben Scott wrote:
[regarding two ways of passing vars to a module]
> Remember, this is Perl, where there are 50 different ways to do
> anything.  Sometimes that's useful, sometimes less so.

So I hoped.  The problem is neither "Learning Perl" nor "Perl in a
Nutshell" made it clear and the Mech docs flip flopped back and forth
without explanation.

> 
>>> http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/Cookbook.pod
>>> spells it out pretty clearly.
>>
>> Not really.  (See above)
> 
>  Well, it's clear what one is *supposed* to do.  It just doesn't work.  ;-)

http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#Why_don%27t_https%3A%2F%2F_URLs_work%3F

"You need either IO::Socket::SSL or Crypt::SSLeay installed."

Bull.  It is an incomplete entry that implies that it doesn't matter,
one, the other, or both.

You need one or the other or both, but not either of the other two
options, depending on the versions of perl and Mech you are using.

When i commented out "use IO::Socket::SSL;" it worked.

...nothing like debugging through trial and error.


Brian



More information about the gnhlug-discuss mailing list