Re: query reg https protocol

2008-03-20 Thread David Moreno
Same here. On Tue, Mar 11, 2008 at 5:09 AM, Kevin Philp <[EMAIL PROTECTED]> wrote: > Pratima, > Not sure what has happened but I tried the following and it worked fine. > https://www.example.com doesn't return anything when I tried - maybe > that is the problem? > > #!/usr/bin/perl > > use wa

Re: query reg https protocol

2008-03-11 Thread Kevin Philp
Pratima, Not sure what has happened but I tried the following and it worked fine. https://www.example.com doesn't return anything when I tried - maybe that is the problem? #!/usr/bin/perl use warnings; use strict; use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->ne

query reg https protocol

2008-03-10 Thread prats
Hi, I am trying to invoke https url using perl. I ran the below sample code. use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new('GET', 'https://www.example.com/'); my $res = $ua->request($req); print $res->content, "\n"; And i got the following error: (sam