Thread CPAN::Mini via Proxy unter Linux ...
(7 answers)
Opened by lux at 2009-12-30 12:36
Hi
Ich bin vermutlich einfach nur zu blöd ... könnt Ihr mir vielleicht mit CPAN::Mini helfen? Folgendes Mini-Skript soll mir ein lokales CPAN Repository bauen: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 #!/app/perl_5.8.6/bin/perl -w use strict; use CPAN::Mini; CPAN::Mini->update_mirror( remote => "http://mirror.switch.ch/ftp/mirror/CPAN/", local => "/home/ddeimeke/localcpan", trace => 1 ); Die Variablen http_proxy (und zur Sicherheit auch HTTP_PROXY) sind richtig gesetzt und ein "wget http://mirror.switch.ch/ftp/mirror/CPAN/" holt auch eine Index-Seite von dem Server. Rufe ich das Skript aber auf, bekomme ich: Code: (dl
)
1 $ ./updatelocalcpan.pl Habt Ihr eine Idee? Bin für jeden Vorschlag dankbar. Dirk |