You are viewing the version of this documentation from Perl 5.005. View the latest version

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 "use()", perlmod, and Exporter.