Perl5 リファレンス

スコープに関するキーワード

関数名概要
caller Returns the context of the current subroutine call.
import There is no builtin `import' function. It is just an ordinary method (subroutine) defined (or inherited) by modules that wish to export names to another module.
local You really probably want to be using `my' instead, because `local' isn't what most people think of as "local".
my 変数を局所化します。
package Declares the compilation unit as being in the given namespace.
use モジュールをインポートする。
[Perl5リファレンストップに戻る]