<?xml version="1.0" encoding="windows-1252"?>
<node id="79982" title="Re: &quot;Junkyard&quot; Puzzle: Average of Numbers" created="2001-05-13 01:42:59" updated="2005-07-19 14:08:39">
<type id="11">
note</type>
<author id="42152">
repson</author>
<data>
<field name="doctext">
Here's the first thing that springs to mind if I read the problem correctly (30 characters):
&lt;code&gt;sub avg {
  (map{(1)x$_}@{$_[0]})/@{$_[0]}
}
&lt;/code&gt;
</field>
<field name="root_node">
79981</field>
<field name="parent_node">
79981</field>
</data>
</node>
