qr/ord(226)/ fails in exactly the same way s/ord(226)/'/ig; does. Both match "ord226" and set (if matched) $1 to 226.
In reply to Re^2: Using 'ord' in a regular expression for substitution
by JavaFan
in thread Using 'ord' in a regular expression for substitution
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |