Unix-commands-cpan
提供:Dev Guides
cpan-Unix、Linuxコマンド
link:/unix_commands/index [previous] link:/unix_commands/index [next] [[1]] php [AddThis Social Bookmark Button]
NAME
概要
++
# with arguments, installs specified modules cpan module_name [ module_name ... ] |
++
# with switches, installs modules with extra behavior cpan [-cimt] module_name [ module_name ... ] |
++
# without arguments, starts CPAN shell cpan |
++
# without arguments, but some switches cpan [-ahrv] |
説明
このスクリプトは、CPAN.pmへのコマンドインターフェース(シェルではなく)を提供します。
メタオプション
これらのオプションは相互に排他的であり、スクリプトは[ahvr]の順にこれらを処理します。 スクリプトが1つを検出すると、他のスクリプトを無視し、タスクの終了後に終了します。 スクリプトは、他のコマンドラインオプションを無視します。
Tag | Description |
---|---|
-a | Creates the CPAN.pm autobundle with CPAN::Shell→autobundle. |
-h | Prints a help message. |
-r | Recompiles dynamically loaded modules with CPAN::Shell→recompile. |
-v | Print the script version and CPAN.pm version. |
モジュールオプション
これらのオプションは相互に排他的であり、スクリプトはそれらをアルファベット順に処理します。
Tag | Description |
---|---|
c | Runs a ‘make clean‘ in the specified module’s directories. |
i | Installed the specified modules. |
m | Makes the specified modules. |
t | Runs a ‘make test‘ on the specified modules. |
例
++
# print a help message cpan -h |
++
# print the version numbers cpan -v |
++
# create an autobundle cpan -a |
++
# recompile modules cpan -r |
++
# install modules cpan -i Netscape::Booksmarks Business::ISBN |
やること
- 他のCPAN :: Shell関数のオプションを追加 オートバンドル、クリーニング、作成、再コンパイル、テスト
BUGS
- 誰も気づかなかった
関連項目
環境変数や構成など、ほとんどの動作はCPAN.pmから直接取得されます。
著者
brian d foy <bdfoy@cpan.org>リンク:/unix_commands/index [previous]リンク:/unix_commands/index [next]リンク:/cgi-bin/printversion.cgi?tutorial=unix_commands&file=cpan[Printer Friendly]
Advertisements |