<?xml version="1.0" encoding="windows-1252"?>
<node id="500373" title="Re: Ampersands and sub speed" created="2005-10-14 17:19:11" updated="2005-10-14 13:19:11">
<type id="11">
note</type>
<author id="227005">
cees</author>
<data>
<field name="doctext">
&lt;p&gt;Make sure you know what you are doing when adding &amp; to the front of a function call.  It can have unintended consequences if you do not understand the difference.  Here is the relevant section from perlsub that briefly explains the difference:&lt;/p&gt;

&lt;tt&gt;&lt;pre&gt;
       To call subroutines:

           NAME(LIST);    # &amp; is optional with parentheses.
           NAME LIST;     # Parentheses optional if predeclared/imported.
           &amp;NAME(LIST);   # Circumvent prototypes.
           &amp;NAME;         # Makes current @_ visible to called subroutine.
&lt;pre&gt;&lt;/tt&gt;</field>
<field name="root_node">
500367</field>
<field name="parent_node">
500367</field>
</data>
</node>
