print +(first { $_ eq 'correct_value' } @arr) || 'not found';
In reply to Re: error message in the end of the array looping?
by ioannis
in thread error message in the end of the array looping?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |