w**2 发帖数: 724 | 1 【 以下文字转载自 Linux 讨论区 】
发信人: wds2 (阿旺), 信区: Linux
标 题: Hex byte string syntax in perl please
发信站: BBS 未名空间站 (Thu Feb 26 18:21:00 2015, 美东)
so i have a ascii string: 11, 22, 33 ,
(ascii 22 is not readable),
what's the syntax in perl for this string pls,
$str = "0x112233" ?
thanks ! | e*******o 发帖数: 4654 | 2 "\x11\x22\x33"
\0xx is octal | w**2 发帖数: 724 | 3 thanks !
【在 e*******o 的大作中提到】 : "\x11\x22\x33" : \0xx is octal
|
|