in reply to Re: replace special character with its unicode
in thread replace special character with its unicode

To clarify the above answer, the flags are after the final / in the regex, where you have already put the g

as in s/\"/ord($1)/ge

perl -e 'print qq(Just another Perl Hacker\n)' # where's the irony switch?