Thread CPAN::Mini via Proxy unter Linux ... (7 answers)
Opened by lux at 2009-12-30 12:36

lux
 2009-12-30 12:36
#117497 #117497
User since
2007-09-15
104 Artikel
BenutzerIn
[Homepage]
user image
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
2
$ ./updatelocalcpan.pl
unable to contact the remote mirror at ./updatelocalcpan.pl line 6


Habt Ihr eine Idee?

Bin für jeden Vorschlag dankbar.

Dirk
Blog - Podcast - Frau - Hunde
Schweizer Tastaturen kennen kein sz.

View full thread CPAN::Mini via Proxy unter Linux ...