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. The "use" function calls the
"import" method for the package used. See also the
use entry elsewhere in this document, the perlmod
manpage, and the Exporter manpage.
####
package packg;
1;
##
##
BEGIN { require packg; import packg; }
print "ok\n";