? o ? diff ? Pod-Simple-2.02/diff Index: .cvsignore =================================================================== RCS file: /home/cvs/cvsroot/hio/perldoc/modules/Pod/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 2003/09/14 08:23:53 1.1 +++ .cvsignore 2003/09/14 08:32:29 1.2 @@ -1,2 +1,5 @@ +*.tar.gz +index.html +Pod-MultiLang-0.01 Pod-MultiLang-0.04 Pod-MultiLang-0.05 Index: Pod-MultiLang-0.02/lib/Pod/MultiLang.pod =================================================================== RCS file: /home/cvs/cvsroot/hio/perldoc/modules/Pod/Pod-MultiLang-0.02/lib/Pod/MultiLang.pod,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Pod-MultiLang-0.02/lib/Pod/MultiLang.pod 2003/09/06 14:15:22 1.1 +++ Pod-MultiLang-0.02/lib/Pod/MultiLang.pod 2003/09/06 14:36:19 1.2 @@ -5,8 +5,9 @@ =head1 SYNOPSIS - use Pod::MultiLang qw(mlpod2html); - mlpod2html(@ARGV); + use Pod::MultiLang::Html; + my $parser = Pod::MultiLang::Html->new(%opt); + $parser->parse_from_file($infile,$outfile); =head1 DESCRIPTION Index: Pod-Perldoc-3.08/index.html =================================================================== RCS file: /home/cvs/cvsroot/hio/perldoc/modules/Pod/Pod-Perldoc-3.08/index.html,v retrieving revision 1.1 retrieving revision 1.3 diff -u -r1.1 -r1.3 --- Pod-Perldoc-3.08/index.html 2003/07/20 07:57:27 1.1 +++ Pod-Perldoc-3.08/index.html 2003/09/06 12:28:00 1.3 @@ -1,20 +1,118 @@ - + - - index of /modules/Pod/Pod-Perldoc-3.08 + + index of modules/Pod/Pod-Perldoc-3.08/ -

index of /modules/Pod/Pod-Perldoc-3.08

+

index of modules/Pod/Pod-Perldoc-3.08/

+ +

+ +(top) / + +modules / + +Pod / + +Pod-Perldoc-3.08 / + +

+ +

+ + + + + + + +

+ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
../(Parent Directory)
lib/lib
t/t
../(Parent Directory)
lib/perldoc (ja)(pod) (+)Pod 形式の Perl ドキュメントの検索
lib/Pod/Perldoc (ja)(pod) (+)untitled
lib/Pod/Perldoc/BaseTo (ja)(pod) (+)-
lib/Pod/Perldoc/GetOptsOO (ja)(pod) (+)-
lib/Pod/Perldoc/ToChecker (ja)(pod) (+)let Perldoc check Pod for errors
lib/Pod/Perldoc/ToMan (ja)(pod) (+)let Perldoc render Pod as man pages
lib/Pod/Perldoc/ToNroff (ja)(pod) (+)let Perldoc convert Pod to nroff
lib/Pod/Perldoc/ToPod (ja)(pod) (+)let Perldoc render Pod as ... Pod!
lib/Pod/Perldoc/ToRtf (ja)(pod) (+)let Perldoc render Pod as RTF
lib/Pod/Perldoc/ToText (ja)(pod) (+)let Perldoc render Pod as plaintext
lib/Pod/Perldoc/ToTk (ja)(pod) (+)let Perldoc use Tk::Pod to render Pod
lib/Pod/Perldoc/ToXml (ja)(pod) (+)Pod を XML に変換
Index: Pod-Perldoc-3.08/lib/index.html =================================================================== RCS file: /home/cvs/cvsroot/hio/perldoc/modules/Pod/Pod-Perldoc-3.08/lib/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Pod-Perldoc-3.08/lib/index.html 2003/07/20 07:57:27 1.1 +++ Pod-Perldoc-3.08/lib/index.html 2003/07/27 08:45:32 1.2 @@ -11,9 +11,16 @@

index of /modules/Pod/Pod-Perldoc-3.08/lib

+

+(top) / +modules / +Pod / +Pod-Perldoc-3.08 / +lib / +

- +
../(Parent Directory)
perldoc (ja)(pod) (2)perldoc - Look up Perl documentation in Pod format.
perldoc (ja)(pod) (2)perldoc - Pod 形式の Perl ドキュメントの検索
Pod/Pod
Index: Pod-Perldoc-3.08/lib/perldoc.html =================================================================== RCS file: /home/cvs/cvsroot/hio/perldoc/modules/Pod/Pod-Perldoc-3.08/lib/perldoc.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Pod-Perldoc-3.08/lib/perldoc.html 2003/07/20 07:57:27 1.1 +++ Pod-Perldoc-3.08/lib/perldoc.html 2003/07/27 08:45:32 1.2 @@ -5,7 +5,7 @@ - perldoc - Look up Perl documentation in Pod format. + perldoc - Pod 形式の Perl ドキュメントの検索 @@ -13,9 +13,11 @@
-perldoc - Look up Perl documentation in Pod format. +perldoc - Pod 形式の Perl ドキュメントの検索
+perldoc - Look up Perl documentation in Pod format. +
@@ -42,7 +44,9 @@ OPTIONS
  • -SECURITY +セキュリティ +SECURITY +
  • @@ -66,8 +70,10 @@ NAME

    -perldoc - Look up Perl documentation in Pod format. +perldoc - Pod 形式の Perl ドキュメントの検索 +perldoc - Look up Perl documentation in Pod format. +

    @@ -78,7 +84,16 @@ SYNOPSIS

    -perldoc [-h] [-v] [-t] [-u] [-m] [-l] [-F] +perldoc [-h] [-v] [-t] [-u] [-m] [-l] [-F] +[-i] [-V] [-T] [-r] +[-d出力先ファイル] +[-oフォーマット名] +[-Mフォーマッタクラス名] +[-wフォーマッタオプション:値] +[-nnroffの代替] +[-X] +ページ名|モジュール名|プログラム名 +perldoc [-h] [-v] [-t] [-u] [-m] [-l] [-F] [-i] [-V] [-T] [-r] [-ddestination_file] [-oformatname] @@ -88,24 +103,31 @@ [-X] PageName|ModuleName|ProgramName +

    -perldoc -f BuiltinFunction +perldoc -f 組み込み関数 +perldoc -f BuiltinFunction +

    -perldoc -q FAQ Keyword +perldoc -q FAQ キーワード +perldoc -q FAQ Keyword +

    -See below for more description of the switches. +スイッチの詳細については後述します. +See below for more description of the switches. +

    @@ -116,25 +138,37 @@ DESCRIPTION

    -perldoc looks up a piece of documentation in .pod format that is embedded +perldoc は perl ツリーインストールや perl スクリプトに埋め込まれている +pod フォーマットのドキュメントの断片を検索します. ドキュメントは +pod2man | nroff -man | $PAGER を通して表示されます. (HP-UX においては +これに加えて col -x も使われます.) これは perl ライブラリモジュールの +ドキュメントで一番使われています. +perldoc looks up a piece of documentation in .pod format that is embedded in the perl installation tree or in a perl script, and displays it via pod2man | nroff -man | $PAGER. (In addition, if running under HP-UX, col -x will be used.) This is primarily used for the documentation for the perl library modules. +

    -Your system may also have man pages installed for those modules, in +多くのシステムではこれらのモジュールの man ページを持って +いると思われるので, man(1) コマンドを使うこともできるでしょう. +Your system may also have man pages installed for those modules, in which case you can probably just use the man(1) command. +

    -If you are looking for a table of contents to the Perl library modules -documentation, see the the perltoc manpage page. +Perl ライブラリモジュールのコンテンツ一覧を見たいのなら, perltoc マニュアルページ を +みるとよいでしょう. +If you are looking for a table of contents to the Perl library modules +documentation, see the the perltoc manpage page. +

    @@ -151,8 +185,10 @@

    -Prints out a brief help message. +簡単なヘルプメッセージを出力します. (help) +Prints out a brief help message. +

    @@ -162,7 +198,9 @@

    -Describes search for the item in detail (verbosely). +項目検索の詳細を出力します. (verbosely) +Describes search for the item in detail (verbosely). +

    @@ -173,9 +211,12 @@

    -Display docs using plain text converter, instead of nroff. This may be faster, +nroff の代わりにプレインテキストへのコンバータを使って表示します. (text) +高速にはなりますが, 見栄えは落ちるでしょう. +Display docs using plain text converter, instead of nroff. This may be faster, but it probably won't look as nice. +

    @@ -185,22 +226,31 @@

    -Skip the real Pod formatting, and just show the raw Pod source (Unformatted) +Pod の整形を省略して Pod ソースそのものを表示します. (Unformatted) +Skip the real Pod formatting, and just show the raw Pod source (Unformatted) +

    -
    -m module +
    -m モジュール +-m module +

    -Display the entire module: both code and unformatted pod documentation. +モジュールの中身全てを表示します. コード及び整形前の pod ドキュメントを +意味します. これは必要とした情報の詳細がドキュメントでは説明されていなくて +コードを直接見たいときに役に立つでしょう. perldoc はファイルを見つけたら +その中身を単純に出力します. +Display the entire module: both code and unformatted pod documentation. This may be useful if the docs don't explain a function in the detail you need, and you'd like to inspect the code directly; perldoc will find the file for you and simply hand it off for display. +

    @@ -210,8 +260,10 @@

    -Display only the file name of the module found. +モジュールのファイル名のみ(only)を表示します. +Display only the file name of the module found. +

    @@ -221,26 +273,35 @@

    -Consider arguments as file names; no search in directories will be performed. +引数をファイル名として処理します. ディレクトリの探索は行われません. +Consider arguments as file names; no search in directories will be performed. +

    -
    -f perlfunc +
    -f perl関数 +-f perlfunc +

    -The -f option followed by the name of a perl built in function will -extract the documentation of this function from the perlfunc manpage. +-f オプションは perl ビルトイン関数の名前を受け取り, +perlfunc マニュアルページ から必要な部分のみを表示します. +The -f option followed by the name of a perl built in function will +extract the documentation of this function from the perlfunc manpage. +

    -Example: +例: +Example: +

    @@ -249,15 +310,21 @@
    -
    -q perlfaq-search-regexp +
    -q perlfaq-検索正規表現 +-q perlfaq-search-regexp +

    -The -q option takes a regular expression as an argument. It will search +-q オプションは引数に正規表現を受け取ります. それを使って perlfaq[1-9] +にある質問(question>)見出しを検索し, マッチした項目を表示します. +例: perldoc -q shuffle +The -q option takes a regular expression as an argument. It will search the question headings in perlfaq[1-9] and print the entries matching the regular expression. Example: perldoc -q shuffle +

    @@ -267,78 +334,116 @@

    -This specifies that the output is not to be sent to a pager, but is to +出力をページャに送らずに単に STDOUT に送るようにします. +This specifies that the output is not to be sent to a pager, but is to be sent right to STDOUT. +

    -
    -d destination-filename +
    -d 出力先ファイル名 +-d destination-filename +

    -This specifies that the output is to be sent neither to a pager nor +出力をページャや STDOUTにはなく指定したファイルに保存するようにします. +例: perldoc -oLaTeX -dtextwrapdocs.tex Text::Wrap +This specifies that the output is to be sent neither to a pager nor to STDOUT, but is to be saved to the specified filename. Example: perldoc -oLaTeX -dtextwrapdocs.tex Text::Wrap +

    -
    -o output-formatname +
    -o 出力フォーマット名 +-o output-formatname +

    -This specifies that you want Perldoc to try using a Pod-formatting +Perldoc の出力に指定した Pod フォーマットクラスを使います. 例: -oman. +これは実際はちょうど -M スイッチのラッパーです; -oフォーマット名 +はフォーマット名(大文字小文字を変えたものも)をいくつかのクラス名 +プレフィックスの終わりに加えた名前のクラスを探します. +This specifies that you want Perldoc to try using a Pod-formatting class for the output format that you specify. For example: -oman. This is actually just a wrapper around the -M switch; using -oformatname just looks for a loadable class by adding that format name (with different capitalizations) to the end of different classname prefixes. +

    -For example, -oLaTeX currently tries all of the following classes: +例えば, -oLaTeX は次のクラスを全て試みます: Pod::Perldoc::ToLaTeX Pod::Perldoc::Tolatex Pod::Perldoc::ToLatex Pod::Perldoc::ToLATEX Pod::Simple::LaTeX Pod::Simple::latex Pod::Simple::Latex Pod::Simple::LATEX Pod::LaTeX Pod::latex Pod::Latex +Pod::LATEX. +For example, -oLaTeX currently tries all of the following classes: +Pod::Perldoc::ToLaTeX Pod::Perldoc::Tolatex Pod::Perldoc::ToLatex +Pod::Perldoc::ToLATEX Pod::Simple::LaTeX Pod::Simple::latex +Pod::Simple::Latex Pod::Simple::LATEX Pod::LaTeX Pod::latex Pod::Latex Pod::LATEX. +

    -
    -M module-name +
    -M モジュール名 +-M module-name +

    -This specifies the module that you want to try using for formatting the +pod の整形に使うモジュールを指定します. このクラスは少なくとも +parser_from_file メソッドを持っている必要があります. 例: +perldoc -MPod::Perldoc::ToChecker. +This specifies the module that you want to try using for formatting the pod. The class must must at least provide a parse_from_file method. For example: perldoc -MPod::Perldoc::ToChecker. +

    -You can specify several classes to try by joining them with commas +コンマやセミコロンで区切って複数のクラスを指定することもできます. +例: -MTk::SuperPod;Tk::Pod +You can specify several classes to try by joining them with commas or semicolons, as in -MTk::SuperPod;Tk::Pod. +

    -
    -w option:value or -w option +
    -w オプション:値 若しくは -w オプション +-w option:value or -w option +

    -This specifies an option to call the formatter with. For example, +フォーマッタの呼び出し時に一緒に(with)設定するオプションを指定します. +例えば -w textsize:15 はフォーマッタオブジェクトをフォーマットに +使う前に $formatter->textsize(15) を設定することになります. +これが有効であるためにはフォーマッタはその様なメソッドを提供していなければ +なりません. さらに, 指定した値も有効なものでなければなりません. +(つまり textsize が整数を予期しているのなら -w textsize:big と +指定してしまってはトラブルの元になるでしょう.) +This specifies an option to call the formatter with. For example, -w textsize:15 will call $formatter->textsize(15) on the formatter object before it is used to format the object. For this to be valid, the formatter class @@ -346,21 +451,29 @@ (So if textsize expects an integer, and you do -w textsize:big, expect trouble.) +

    -You can use -w optionname (without a value) as shorthand for +-w optionname:TRUE の代わりに (値を伴わない) -w optionname を +使うこともできます. これはおそらく -w page_numbering の様に on/off で +設定する機能に便利でしょう. +You can use -w optionname (without a value) as shorthand for -w optionname:TRUE. This is presumably useful in cases of on/off features like: -w page_numbering. +

    -You can use a "=" instead of the ":", as in: -w textsize=15. This +-w textsize=15 の様に ":" の代わりに "=" を使うこともできます. +使ってるシェルによっては楽になるかもしれません. +You can use a "=" instead of the ":", as in: -w textsize=15. This might be more (or less) convenient, depending on what shell you use. +

    @@ -370,34 +483,49 @@

    -Use an index if it is present -- the -X option looks for an entry +インデックスがあればそれを使います -- -X オプションは ベースネームが +ファイル $Config{archlib}/pod.idx の中でコマンド上に与えられている +名前にマッチするエントリを探します. pod.idx ファイルは各行に +完全なファイル名を含んでいるべきです. +Use an index if it is present -- the -X option looks for an entry whose basename matches the name given on the command line in the file $Config{archlib}/pod.idx. The pod.idx file should contain fully qualified filenames, one per line. +

    -
    PageName|ModuleName|ProgramName +
    ページ名|モジュール名|プログラム名 +PageName|ModuleName|ProgramName +

    -The item you want to look up. Nested modules (such as File::Basename) +検索するものを指定します. パッケージを伴うモジュール (File::Basename 等) は +File::Basename もしくは FIle/Basename の様に指定します. perlfunc +の様にページ名を与えることもできます. +The item you want to look up. Nested modules (such as File::Basename) are specified either as File::Basename or File/Basename. You may also give a descriptive name of a page, such as perlfunc. +

    -
    -n some-formatter +
    -n nroffの代替 +-n some-formatter +

    -Specify replacement for nroff +nroff の代わりに使うプログラムを指定します. +Specify replacement for nroff +

    @@ -408,8 +536,10 @@

    -Recursive search. +再帰探索. +Recursive search. +

    @@ -419,7 +549,9 @@

    -Ignore case. +ケースインセンシティブ. +Ignore case. +

    @@ -430,8 +562,10 @@

    -Displays the version of perldoc you're running. +実行している perldoc のバージョンを表示. +Displays the version of perldoc you're running. +

    @@ -441,17 +575,24 @@

    -SECURITY +セキュリティ +SECURITY +

    -Because perldoc does not run properly tainted, and is known to +perldoc は汚染(tainted)で実行されないため, そしてセキュリティ上の議論が +あるためにスーパーユーザとして実行されたときには実効及び実IDを nobody +もしくは nouser アカウント, それらが有効でなければ -2 に設定することで +権限を解除しようとします. 権限を解除できなかったときには実行されません. +Because perldoc does not run properly tainted, and is known to have security issues, when run as the superuser it will attempt to drop privileges by setting the effective and real IDs to nobody's or nouser's account, or -2 if unavailable. If it cannot relinquish its privileges, it will not run. +

    @@ -462,51 +603,72 @@ ENVIRONMENT

    -Any switches in the PERLDOC environment variable will be used before the +PERLDOC 環境変数に設定されているスイッチはコマンドライン引数より +先に評価されます. +Any switches in the PERLDOC environment variable will be used before the command line arguments. +

    -Useful values for PERLDOC include -oman, -otext, -otk, -ortf, +PERLDOC に適した値にはどんなモジュールを持っているかによって -oman, +-otext, -otk, -ortf, -oxml の類が, また好みの +フォーマッタクラスの指定 -MPod::Perldoc::ToMan 等に便利でしょう. +Useful values for PERLDOC include -oman, -otext, -otk, -ortf, -oxml, and so on, depending on what modules you have on hand; or exactly specify the formatter class with -MPod::Perldoc::ToMan or the like. +

    -perldoc also searches directories +perldocPERL5LIB (もしくは PERL5LIB が定義されていなければ +PERLLIB ) 及び PATH 環境変数を検索します. +(後者は perldoc 自身のように実行形式に埋め込まれている pod に有効です.) +perldoc also searches directories specified by the PERL5LIB (or PERLLIB if PERL5LIB is not defined) and PATH environment variables. (The latter is so that embedded pods for executables, such as perldoc itself, are available.) +

    -perldoc will use, in order of preference, the pager defined in +perldoc は持っているページャを探す前に好みに応じて PERLDOC_PAGER, +MANPAGER, PAGER に定義されているページャを使います. +(perldoc にプレインテキストや未整形 pod の表示を指定されているときには +MANPAGER は使われません.) +perldoc will use, in order of preference, the pager defined in PERLDOC_PAGER, MANPAGER, or PAGER before trying to find a pager on its own. (MANPAGER is not used if perldoc was told to display plain text or unformatted pod.) +

    -One useful value for PERLDOC_PAGER is less -+C -E. +PERLDOC_PAGER に便利な値には less -+C -E があるでしょう. +One useful value for PERLDOC_PAGER is less -+C -E. +

    -Having PERLDOCDEBUG set to a positive integer will make perldoc emit +PERLDOCDEBUG に正の整数を与えることで perldoc に -v スイッチよりさらに +詳細な出力を行わせることができます. +Having PERLDOCDEBUG set to a positive integer will make perldoc emit even more descriptive output than the -v switch does -- the higher the number, the more it emits. +

    @@ -517,26 +679,35 @@ AUTHOR

    -Current maintainer: Sean M. Burke, <sburke@cpan.org> +現在のメンテナ: Sean M. Burke, <sburke@cpan.org> +Current maintainer: Sean M. Burke, <sburke@cpan.org> +

    -Past contributors are: +これまでの貢献者: +Kenneth Albanowski <kjahds@kjahds.com>, +Andy Dougherty <doughera@lafayette.edu>, +そして多くの方々. +Past contributors are: Kenneth Albanowski <kjahds@kjahds.com>, Andy Dougherty <doughera@lafayette.edu>, and many others. +

    -perldoc - Look up Perl documentation in Pod format. +perldoc - Pod 形式の Perl ドキュメントの検索
    +perldoc - Look up Perl documentation in Pod format. +
    @@ -547,23 +718,31 @@