- import LIST
-
There is no builtin
importfunction. It is just an ordinary method (subroutine) defined (or inherited) by modules that wish to export names to another module. The use function calls theimportmethod for the package used. See also use, perlmod, and Exporter.組み込みの
import関数というものはありません。 これは単に、別のモジュールに名前をエクスポートしたいモジュールが 定義した(または継承した)、通常のメソッド(サブルーチン)です。 use 関数はパッケージを使う時にimportメソッドを呼び出します。 use, perlmod, Exporter も 参照してください。