in reply to Re: Using 'ord' in a regular expression for substitutionin thread Using 'ord' in a regular expression for substitution
qr/ord(226)/ fails in exactly the same way s/ord(226)/'/ig; does. Both match "ord226" and set (if matched) $1 to 226.