thanks, I was trying to use chr after Corion's suggestion to use pack/unpack, but I couldn't figure out how to make it work with hex (easily).arg.pl '\x61' '\x41' $arg_2 =~ s@\\x([0-9a-fA-F]+)@chr hex $1@ge;
In reply to Re^2: hex code passed from command line is interpreted literally in substitution
by Allasso
in thread hex code passed from command line is interpreted literally in substitution
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |