sub aindex { grep$_[$_+1]eq$_[0],0..@_-2 } [download]
In reply to Re: Re: Shortest -return index of element in array- sub by MrNobo1024 in thread Shortest -return index of element in array- sub by leons