Good day;
I don't know if this is possible... But I'm trying to replace the high-hex 
symbol for one-half (\xBD) with 1/2

This is what I've tried so far:

$variable =~ tr/[\xBD]/"1/2"/;                  #tr doesn't like this, so I tried...

$replacement = "1/2";
$variable =~ tr/[\xBD]/$replacement/;           #tr replaces \xBD with 'r', then I 
tried

$variable =~ tr/[\xBD]/\$replacement/;  # just to see if the \ in front of 
the $ would work.. It didn't

May be a total brainfart, but I'm stumped. I appreciate any advice.
Thank you very much for your time,
Carl


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to