in reply to Re: Curious find while comparing grep, map, and smart match... (substring)
in thread Curious find while comparing grep, map, and smart match...
That makes sense, hence many single digit values are rarely present.
Good candidate for a "golf"-ish answer!
UPDATE: adding word boundaries helped, now the arrays generated are equal.
map { /\b$rInt\b/ } @mArrayThanks!
|
|---|