in reply to Re: Re: What's the idiom for finding and removing the found @ARRAY element?in thread What's the idiom for finding and removing the found @ARRAY element?
for my $i ( reverse 0 .. $#{ $ar } ) { splice @{ $ar }, 0, $i; } [download]