sub f { $t=pop;$t=$$t{$c>0?l:r}while$c=$$t{d}cmp$_[0]and$t;$t } [download]
In reply to Re (tilly) 4: Golf: Tree searching by tilly in thread Golf: Tree searching by Masem