in reply to concatenate a non-printable character onto an ascii string and inspect the content

You can also use Devel::Peek for inspecting the contents of any perl value:
use Devel::Peek; Dump(pack('a*','123456') . pack('a', 0x1c)); Dump(pack('a*','123456') . pack('a', "\x1c"));
  • Comment on Re: concatenate a non-printable character onto an ascii string and inspect the content
  • Download Code