[Vienna-pm] https-Seiten
Carl A. Schreiber
gooly at gmx.at
Tue Nov 21 05:27:32 PST 2006
Hallo,
welches Modul benutzt man für einen https zugriff mit Perl,
jemand mit einer Empfehlung?
Es gibt IO::All::HTTPS, das verursacht zuerst beim Installieren Fehler
(ohne 'force install' ka Musi) und bei der Verwendung ebenso.
Der erste Fehler-Teil schaut im Orginal so aus:
field 'response'
field 'content'
field 'put_content'
und erzeugt:
String found where operator expected
at /usr/lib/perl5/site_perl/5.8.3/IO/All/LWP.pm line 12, near "field
'response'"
(Do you need to predeclare field?)
String found where operator expected
at /usr/lib/perl5/site_perl/5.8.3/IO/All/LWP.pm line 13, near "field
'content'"
(Do you need to predeclare field?)
String found where operator expected
at /usr/lib/perl5/site_perl/5.8.3/IO/All/LWP.pm line 14, near "field
'put_content'"
(Do you need to predeclare field?)
Mein Programm macht in Zeile 11 nur was empfohlen:
$content < io('https://example.org'); # GET webpage
Can't find a class for method 'https' at ./myPrg.pl line 11
Aber auch die Alternative LWP::Protocol::https::SocksChain macht
Probleme.
Das benötigt andere Module u.a. Net::SSLeay, aber (das deswegen neu
upgedatete) cpan bircht mit mehr als 1000 Fehlerzeilen ab??
Danke schon mal,
Calli
More information about the Vienna-pm
mailing list