- import LIST
-
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. Theuse
function calls theimport
method for the package used. See alsouse
, perlmod, and Exporter.組み込みの
import
関数というものはありません。 これは単に、別のモジュールに名前をエクスポートしたいモジュールが 定義した(または継承した)、通常のメソッド(サブルーチン)です。use
関数はパッケージを使う時にimport
メソッドを呼び出します。use
, perlmod, Exporter も 参照してください。