<?xml version="1.0" encoding="windows-1252"?>
<node id="396802" title="Re: How a script becomes a module" created="2004-10-05 18:30:46" updated="2005-08-12 09:05:10">
<type id="11">
note</type>
<author id="123291">
hossman</author>
<data>
<field name="doctext">
&lt;p&gt;
Nice writeup, but something looks off to me.  in th section "Oops, I did it again" you have the line...
&lt;/p&gt;
&lt;code&gt;
print "High score is " . Local::Scores-&gt;high_score( $scores ) . "\n";
&lt;/code&gt;
&lt;p&gt;
...but the variable &lt;code&gt;$scores&lt;/code&gt; doesn't exist (at least not in that version ... i think you ment to change that so it takes in &lt;code&gt;@players&lt;/code&gt;).
&lt;/p&gt;</field>
<field name="root_node">
396759</field>
<field name="parent_node">
396759</field>
</data>
</node>
