in reply to How to prevent perl from being clever


You should be able to use the ord and chr functions (or pack/unpack "C") to do what you want:
my $sum = ord(1) + ord(2); printf "0x%x\n", $sum; print chr $sum, "\n"; __END__ prints: 0x63 c

--
John.