\x64 means the character represented by 64 hexadecimal in the current character set (usually a lower case 'd'). You can use the syntax 0x64 for hexadecimal constants in perl.
Do add and print hexadecimal numbers you need to use something like:
The %x means to insert the value of $value into the format string in hexadecimal format. See perldoc -f printf and especially perldoc -f sprintf for details about output formats.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.