[Pdx-pm] Bug in Net::SSLeay?

Jon Jacob jon at manymoons.net
Fri Sep 27 15:20:03 CDT 2002

I have posted this to Perl Monks, but I thought I would try here as well
as I am pretty desperate.

The following code gives me a segfault.  I suspect that it is from
Net::SSL.pm, and it definitely is related to the https url bec if I use
a http it works fine.

Any help is greatly appreciated.

Here is the code:

use lib qw(/usr/local/lib/perl5/site_perl/5.6.1/
use LWP;
use HTTP::Cookies;

my $browser = LWP::UserAgent->new;
my $cookie_locale = "cookies.lwp";
$browser->cookie_jar( HTTP::Cookies->new(
                         'file' => $cookie_locale,
                         'autosave' => 1,

sub sign_in
    my $result;
    my $gb_num = 10;

    my $email = "xxxxxxx";
    my $password = "xxxxxxxx";
    my $url
    my $response = $browser->post( $url,
                 'email'     => "$email",
                 'action'    => 'sign-in checked',
                 'next-page' =>'recs/instant-recs-register-secure.html',
                 'password'  => $password,
    my $request = new HTTP::Request 'GET' => $url;

    $result = $browser->request($request);
    if ($result->is_success)
    print $result->as_string;
    print "Error: " . $result->status_line . "\n";

More information about the Pdx-pm-list mailing list