URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 19212
[ Назад ]

Исходное сообщение
"Установить дополнительный модуль к perl"

Отправлено SiN , 31-Июл-02 15:32 
Подскажите ПЛЗ откуда можно взять дополнительные модули к perl в частности Zip.pm (Archive/Zip.pm), и как их ставить в систему?

Содержание

Сообщения в этом обсуждении
"RE: Установить дополнительный модуль к perl"
Отправлено lavr , 31-Июл-02 15:44 
>Подскажите ПЛЗ откуда можно взять дополнительные модули к perl в частности Zip.pm
>(Archive/Zip.pm), и как их ставить в систему?

perldoc CPAN - там все расписано, после чего, если нужно чтобы в системе
был:

su - root
...
# perl -MCPAN -e shell
...
настраиваешь отвечая на вопросы, после чего:


help
make
test
install

уже настроенное выглядит так:

[alone]/tmp > perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.59)
ReadLine support enabled

cpan> help

Display Information
a                                    authors
b         string           display   bundles
d         or               info      distributions
m         /regex/          about     modules
i         or                         anything of above
r         none             reinstall recommendations
u                          uninstalled distributions

Download, Test, Make, Install...
get                        download
make                       make (implies get)
test      modules,         make test (implies make)
install   dists, bundles   make install (implies test)
clean                      make clean
look                       open subshell in these dists' directories
readme                     display these dists' README files

Other
h,?           display this menu       ! perl-code   eval a perl command
o conf [opt]  set and query options   q             quit the cpan shell
reload cpan   load CPAN.pm again      reload index  load newer indices
autobundle    Snapshot                force cmd     unconditionally do cmd
cpan> q
Lockfile removed.
[alone]/tmp > id
uid=0(root) gid=0(wheel) groups=0(wheel)
[alone]/tmp >