<?xml version="1.0" encoding="windows-1252"?>
<node id="66885" title="Re: !@#$ $#_" created="2001-03-24 18:23:27" updated="2005-07-21 01:25:33">
<type id="11">
note</type>
<author id="1382">
chromatic</author>
<data>
<field name="doctext">
There's a thread on p5p that has to do with &lt;a href="http://www.perl.com/pub/2000/12/p5pdigest/THISWEEK-20001217.html"&gt;Precedence&lt;/a&gt;.  Just like in C, the order of evaluation is not strictly determined.
&lt;p&gt;
The original thread starts &lt;a href="http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-12/msg00443.html"&gt;here&lt;/a&gt;, where our own [japhy] says "It hurts when I stick a fork in my eye!"
&lt;p&gt;
Seriously, it's a combination of recursion and modifying a global (@_).  If you copy the arguments into a lexical array in li(), you'll get better results.
&lt;p&gt;
&lt;strong&gt;Update:&lt;/strong&gt;  [chromatic] resolves to be more specific about his terminology.</field>
<field name="root_node">
66880</field>
<field name="parent_node">
66880</field>
</data>
</node>
