<?xml version="1.0" encoding="windows-1252"?>
<node id="1015840" title="Re: Difference between use Module::Name and use Module::Name qw /method1 method2/" created="2013-01-29 05:06:20" updated="2013-01-29 05:06:20">
<type id="11">
note</type>
<author id="832495">
choroba</author>
<data>
<field name="doctext">
In fact, it depends on the module in question. But, if the module uses [mod://Exporter], the second option only imports &lt;c&gt;is_valid&lt;/c&gt; into the current namespace. All other functions still exist under their fully qualified names, so the memory should not matter. But, if the module exports a subroutine called "all" or something similarly simple, you can avoid a clash with your own "all" subroutine. The &lt;c&gt;qw&lt;/c&gt; way keeps your namespace clean and under better control.

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-832495"&gt;

&amp;#1604;&amp;#1405;&amp;#4285;† &amp;#6514;&amp;#6482;&amp;#9898;&amp;#10186;&amp;#4281;&amp;#5651;&amp;#5511; &amp;#5045;&amp;#5651;&amp;#5511;&amp;#9137; &amp;#4281;&amp;#6514;&amp;#119243;&amp;#409;&amp;#5651;&amp;#5511;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1015838</field>
<field name="parent_node">
1015838</field>
</data>
</node>
