Devel::Hexdump(3)

πŸ“¦
version 0.02 Β· 4 versions
, in epel 9

πŸ’– NAME πŸ’–

okay so Devel::Hexdump is literally here to Print nice hex dump of binary data. this is the page for Devel::Hexdump(3), from the User Contributed Perl Documentation section, and yes bestie it's giving exactly what it says on the tin ✨

✨ SYNOPSIS ✨

okay so here's the group-chat screenshot of how you use it, no cap:

           use Devel::Hexdump 'xd';

           my $binary = '...';
           print xd $binary, {
               row   => 10, # print 10 bytes in a row
               cols  => 2,  # split in 2 column groups, separated with <hsp?>
                 hsp => 2,  # add 2 spaces between hex columns
                 csp => 1,  # add 1 space between char columns
               hpad  => 1,  # pad each hex byte with 1 space (ex: " 00" )
               cpad  => 1,  # pad each char byte with 1 space
           };

           # or just
           print xd $binary;

🌸 AUTHOR 🌸

Mons Anderson, <mons@cpan.org> β€” that's the author, bestie πŸ‘‘

Copyright vibes: Copyright (C) 2011 by Mons Anderson. πŸ’œ

This library is free software β€” you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available. slay, legal bestie 🫢


okay that's the whole manual page, bestie 🫢 β€” this one comes from perl v5.32.1, dated 2025-01-18, and it's all about Devel::Hexdump(3). bye πŸ’‹

πŸ“¦ where this page comes from