[ ventura @ 24.04.2001. 00:37 ] @
Gojko, da ne znas mozda dali je moguce konektovati se na SSL stranice, odnosno https:// preko standardnog LWP-a, i dali za to uopste postoji modul? |
[ ventura @ 24.04.2001. 00:37 ] @
[ Gojko Vujovic @ 24.04.2001. 07:50 ] @
Moras imati LWP sa instaliranim SSL interface modulom. Dobar znak da nije pravilno instaliran je greska koju ces dobiti i glasice:
501 Protocol scheme 'https' is not supported Potrazi i README.SSL.. A evo i primera koda: Code: use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(GET => 'https://www.verisign.com/'); my $res = $ua->request($req); if ($res->is_success) { print $res->as_string; } else { print "Failed: ", $res->status_line, "\n"; } Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|