Search notes:

Perl function: unpack

#!/usr/bin/perl
use warnings;
use strict;

my $string = 'ABC';

print "Hexadecimal representation of $string: " . unpack('H*', $string) . "\n";
#
# Hexadecimal representation of ABC: 414243
Github repository about-perl, path: /functions/unpack.pl

See also

pack, hex
Perl functions

Index