Demystifying pack and unpack, these most misunderstood functions
perldoc.perl.org
perldoc.perl.org
$ perl -E'$s = "bar"; substr($s, 1, 1) = pack("A*", 60); say $s'
b60rhttps://perldoc.perl.org/perlform
These days it's pretty obsolete since if you want to generate a nicely formatted report, you can just generate HTML.
It’s powerful and terse, you can use it in so many situations to accomplish so much.