=encoding euc-jp =head1 NAME =begin original vars - Perl pragma to predeclare global variable names (obsolete) =end original vars - 大域変数名を先行宣言するための Perl プラグマ (古いもの) =head1 SYNOPSIS use vars qw($frob @mung %seen); =head1 DESCRIPTION =begin original NOTE: For variables in the current package, the functionality provided by this pragma has been superseded by C declarations, available in Perl v5.6.0 or later. See L. =end original 注意: カレントパッケージの変数については、このプラグマが提供する機能は Perl 5.6.0 以降で利用可能な C 宣言に置き換えられました。 L を参照してください。 =begin original This will predeclare all the variables whose names are in the list, allowing you to use them under "use strict", and disabling any typo warnings. =end original これはリストにある名前の変数の全てを事前宣言し、"use strict" でも 使えるようにし、タイプミス警告を無効にします。 =begin original Unlike pragmas that affect the C<$^H> hints variable, the C and C declarations are not BLOCK-scoped. They are thus effective for the entire file in which they appear. You may not rescind such declarations with C or C. =end original C<$^H> ヒント変数に影響を与えるプラグマと異なり、C と C の宣言は BLOCK スコープではありません。 従って、現れたファイル全体に有効です。 このような宣言を C や C で取り消すことはできません。 =begin original Packages such as the B and B that delay loading of subroutines within packages can create problems with package lexicals defined using C. While the B pragma cannot duplicate the effect of package lexicals (total transparency outside of the package), it can act as an acceptable substitute by pre-declaring global symbols, ensuring their availability to the later-loaded routines. =end original パッケージのサブルーチンの読み込みを遅延させる B や B のようなモジュールは C を使って定義された パッケージレキシカルで問題を起こすことがあります。 B はパッケージレキシカルの効果(パッケージの外側への完全な透過性)を 複製はできませんが、グローバルシンボルを事前宣言することで、後で 読み込まれるルーチンに対する能力を確実にする受け入れ可能な代用として 振る舞えます。 =begin original See L. =end original L を参照してください。 =begin meta Translate: SHIRAKATA Kentaro Status: completed =end meta =cut