An alternate syntax is:grep ( /^$unique$/, @first_list_new )
grep { /^$unique$/ } @first_list_new
In reply to Re^3: How to grep exact string
by frozenwithjoy
in thread How to grep exact string
by Divakar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |