Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses


by gods (Initiate)
on Aug 24, 1999 at 22:42 UTC ( [id://283] : perlfunc . print w/replies, xml ) Need Help??


See the current Perl documentation for import.

Here is our local, out-dated (pre-5.6) version:

import - patch a module's namespace into your own


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(), the perlmod manpage, and the Exporter manpage.