import
import - patch a module's namespace into your own
import
There is no built-in
import()
function. It is merely an ordinary
method (subroutine) defined (or inherited) by modules that wish to export
names to another module. The
use()
function calls the
import()
method
for the package used. See also
use
,
the perlmod manpage
, and Exporter.