$text =~ s/<U\+([0-9A-Fa-f]+)>/qq!"\\x{$1}"!/ee; $text =~ s/<U\+([0-9A-Fa-f]+)>/chr hex $1/e;
In reply to Re: convert scalar to wide hexadecimal value? how?
by JavaFan
in thread convert scalar to wide hexadecimal value? how?
by merlinX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |