Yes it did throw out error if I use $astr =~ s/Ω/\\x57 /g; I did try to use $astr =~ s/'Ω'/\\x57 /g; but the output result does not replace Ω to \\x57. It will still show Ω
Appreciate if anyone can help me. Thanks.
Hi! I am editting a perl script that will convert html to MIF file. There is a section in the script where it will match html code and translate it into MIF file symbol code such as ($astr =~ s/®/\\xe4 /g;). How do I use # in this code such as ($astr =~ s/Ω/\\x57 /g;) as # is a comment...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.