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!
In reply to Re^2: Curious find while comparing grep, map, and smart match... (substring)
by dbuckhal
in thread Curious find while comparing grep, map, and smart match...
by dbuckhal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |