<?xml version="1.0" encoding="windows-1252"?>
<node id="68891" title="Re: Re: Shortest -return index of element in array- sub" created="2001-04-02 00:41:03" updated="2005-07-19 14:08:39">
<type id="11">
note</type>
<author id="56379">
MrNobo1024</author>
<data>
<field name="doctext">
&lt;code&gt;
sub aindex {
    grep$_[$_+1]eq$_[0],0..@_-2
}
&lt;/code&gt;</field>
<field name="root_node">
66003</field>
<field name="parent_node">
66855</field>
</data>
</node>
