You need a criteria
any BLOCK LIST Returns a true value if any item in LIST meets the criterion given through BLOCK. Sets $_ for each item in LIST in turn:
pojif (any {$line_number == $_} @line_numbers){
In reply to Re: Problem in "any"
by poj
in thread Problem in "any"
by ravi45722
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |