Subject: | StringyGrep and StringyMap |
What's up with StringyGrep and StringyMap ? As far as I know such a thing doesn't exist. You should probably looking for what should be called "ExpressionGrep" and "ExpressionMap", such as:
@b = map $_*2, @a;
@b = grep /xyz/, @a;
A "stringy" grep such as
@b = grep "/xyz/", @a;
is just a particular case where the expression happens to be a string, which is most likely always true and most likely a bug. But if I understand correctly you are not looking for bugs, but for style issues...