目次 TABLE OF CONTENTS
MakeMakerのインストールされていないバージョンのパッケージを使う blib - Use MakeMaker's uninstalled version of a package
perl -Mblib script [args...]
perl -Mblib=dir script [args...]
dir (もしくはカレントディレクトリの) MakeMaker 的な 'blib' ディレクトリ 構造を見る様にします. また '..' を5段階遡って調べます. Looks for MakeMaker-like 'blib' directory structure starting in dir (or current directory) and working back up to five levels of '..'.
コマンドラインの -M オプションで使う様に意図されています. これを使って任意のスクリプトをあるパッケージのまだインストールされていない バージョンでテストできます. Intended for use on command line with -M option as a way of testing arbitrary scripts against an uninstalled version of a package.
次の様に使うこともできます: However it is possible to :
use blib;
or
use blib '..';
もし本当に必要としているのであれば. etc. if you really must.
開発時のみの使用を前提としているためグローバルネームスペースを 使います. Pollutes global name space for development only task.
Nick Ing-Simmons nik@tiuk.ti.com
山科 氷魚 (YAMASHINA Hio) <hio@hio.jp>
原典: perl VERSION 5.8.8. 翻訳日: 2003-07-13 (perl-5.8.0). (修正: 2007-06-23.) Original distribution is perl VERSION 5.8.8. Translated on 2003-07-13 (perl-5.8.0). (Updated on 2007-06-23.)