in reply to CTX:SSLeay and https

You are missing
use URI::URL;
once I added that the code worked.
Edit: After reviewing the code again I must add
use strict; use warnings;
You define $url twice, and have a bareword 'User-Agent' which looks like it should be 'User_Agent'.

-bn

Replies are listed 'Best First'.
Re: Re: CTX:SSLeay and https
by Amoe (Friar) on Mar 18, 2002 at 17:43 UTC

    This solves the problem. But I must say this: URI::URL is a deprecated/obsolete/whatever module, and is only provided for backwards compability. You should use the newer URI module instead. Raw URI has a nicer interface, I think anyway. Using obsolete modules is generally a bad thing to do, unless you really have to.


    --
    my one true love