Подскажите ПЛЗ откуда можно взять дополнительные модули к perl в частности Zip.pm (Archive/Zip.pm), и как их ставить в систему?
>Подскажите ПЛЗ откуда можно взять дополнительные модули к 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 enabledcpan> 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 distributionsDownload, 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 filesOther
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 >