use warnings; use strict; my $matchmember = quotemeta 'PARJT$$'; my $target = 'PARJT## PARJT$$ PARJT##'; my $rc = grep /$matchmember/, $target; print "$rc\n"; __END__ 1
In reply to Re: Need to grep for a string that ends with $$
by toolic
in thread Need to grep for a string that ends with $$
by ntest1127
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |