
ahammad1
New User
May 25, 2010, 11:58 AM
Post #3 of 6
(4918 views)
|
|
Re: [shawnhcorey] extracting a "backslash" character
[In reply to]
|
Can't Post
|
|
Hello Shawn, I tried it but it did not work. The output was: @hex_seqs $VAR1 = []; Do you have any other suggestions? Basically, I want to replace the \xF4 with its character equivalent (in this case it would be "ô"). In Perl, if I print that string, the \x is automatically recognized as a hex handler, and the output is the correct character. However, I am not printing, but I am passing the result as a string to another application. The other application doesn't recognize the \x, so it prints the string as is. That is why I want to handle this on the Perl side before passing the result.
|