in reply to Shortest -return index of element in array- sub
sub indexArray{ while (@_) { return @_-1 if $_[0] eq pop } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Shortest -return index of element in array- sub
by mr_mischief (Monsignor) on Apr 04, 2001 at 06:19 UTC | |
by mr_mischief (Monsignor) on Apr 04, 2001 at 08:10 UTC | |
by tilly (Archbishop) on Apr 04, 2001 at 18:41 UTC | |
by mr_mischief (Monsignor) on May 31, 2001 at 02:17 UTC |