<?xml version="1.0" encoding="windows-1252"?>
<node id="83946" title="Re: Re: (boo) Re: Closest-value-in-list Golf!" created="2001-05-29 14:37:12" updated="2005-07-19 14:08:39">
<type id="11">
note</type>
<author id="66604">
larryk</author>
<data>
<field name="doctext">
&lt;code&gt;sub g {$n=pop;$h{abs$_-$n}=$_ for@_;$h{(sort{$a&lt;=&gt;$b}keys%h)[0]}}&lt;/code&gt;&lt;p&gt;57 if you take out the ( ) on the abs
&lt;p&gt;&lt;FONT color=#330099 size=1&gt;"Argument is futile - you will be ignorralated!"&lt;/FONT&gt;</field>
<field name="root_node">
83923</field>
<field name="parent_node">
83944</field>
</data>
</node>
