>Уважаемые профессионалы,
>на соларисе нужно установить много Perl-Modules,
>я хотел бы сделать это с помощью
>perl -MCPAN -eshell
>При первом запуске я устанавливаю все параметры, отвечаю на вопросы,
>среди который http_proxy. Но к сожелению идет попытка получить
>файлы через ftp, который не работает.
>Как сделать так, что бы загрузка происходила исключительно по http? Я спаном не пользуюсь но в доке написано что там който конфиг создается, а внем есть
urllist, в примерах там все протоколы file: да ftp: указаны,
найди этот конфиг и замени в нем ареса и протолы на http:
When the CPAN module is used for the first time, a config-
uration dialog tries to determine a couple of site spe-
cific options. The result of the dialog is stored in a
hash reference $CPAN::Config in a file CPAN/Config.pm.
The default values defined in the CPAN/Config.pm file can
be overridden in a user specific file: CPAN/MyConfig.pm.
Such a file is best placed in $HOME/.cpan/CPAN/MyCon-
fig.pm, because $HOME/.cpan is added to the search path of
the CPAN module before the use() or require() statements.
The configuration dialog can be started any time later
again by issueing the command " o conf init " in the CPAN
shell.
наверное должно заработать.