How do I find all occurrences of string that ends with the characters $$? The value of $rc in the code below is null.
my $matchmember='PARJT$$'; my $target='PARJT## PARJT$$ PARJT##'; my $rc; $rc=grep /$matchmember/,$target;
In reply to Need to grep for a string that ends with $$ by ntest1127
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |