http://www.perlmonks.org?node_id=977055


in reply to Print hex data in ASCII format as is

With the h or H templates.

Replies are listed 'Best First'.
Re^2: Print hex data in ASCII format as is
by yildiza (Initiate) on Jun 19, 2012 at 12:47 UTC
    Thank you for your answer. It worked. unpack("H*", $data)