It's not really what I like to do. I want to remove all exact matches which occur in @test out of the array @in. So the array @in should become (cbga test). With (grep s/($temp)/ /ig,@new_array) it removed all matches instead of exact matches so my array became (c test) instead of (cbga test).
In reply to Re: Re: How to look for exact pattern match
by juo
in thread How to look for exact pattern match
by juo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |