<?xml version="1.0" encoding="windows-1252"?>
<node id="283" title="perlfunc:import" created="1999-08-24 18:42:52" updated="2005-08-12 21:57:05">
<type id="119">
perlfunc</type>
<author id="114">
gods</author>
<data>
<field name="doctext">
</field>
<field name="name">

&lt;P&gt;
import - patch a module's namespace into your own

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="synopsis">

&lt;P&gt;
import

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="description">

&lt;P&gt;
There is no builtin [perlfunc:import|import()] function. It is just an ordinary method (subroutine) defined (or inherited)
by modules that wish to export names to another module. The [perlfunc:use|use()] function calls the [perlfunc:import|import()] method for the package used. See also [perlfunc:use|use()], [perlman:perlmod|the perlmod manpage], and [perlfunc:../../lib/Exporter|the Exporter manpage].

&lt;HR&gt;
</field>
</data>
</node>
