<?xml version="1.0" encoding="windows-1252"?>
<node id="259871" title="Re: please explain" created="2003-05-21 16:22:57" updated="2005-08-13 21:34:24">
<type id="11">
note</type>
<author id="103304">
Flame</author>
<data>
<field name="doctext">
First it declares and scopes $k.  Then it asks if $dir has a value (in other words, it's not undef).  If that is true it then tries to capture everything up to a slash (careful, this looks unpredictable to me, might pass over multiple /'s) and place it into $1.  If that succedes, it sets $back_one to $1.&lt;br/&gt;&lt;br/&gt;
Hope this helps.
&lt;br/&gt;&lt;br/&gt;
&lt;hr width=100% size=2 noshade/&gt;&lt;br/&gt;
&lt;p&gt;My code doesn't have bugs, it just develops random features.&lt;/p&gt;
&lt;p&gt;Flame ~ Lead Programmer: &lt;a href="http://guildms.sourceforge.net/" target="_blank" style="text-decoration: none"&gt;GMS&lt;/A&gt; (DOWN) | &lt;a href="http://gms.uoe.org/" target="_blank" style="text-decoration: none"&gt;GMS&lt;/A&gt; (DOWN)&lt;/p&gt;</field>
<field name="root_node">
259865</field>
<field name="parent_node">
259865</field>
</data>
</node>
