Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ Spider Boardman <[email protected]> Spider Boardman <[email protected]
Spider Boardman <[email protected]> [email protected] <[email protected]>
Spider Boardman <[email protected]> system PRIVILEGED account <[email protected]>
Spiros Denaxas <[email protected]> Spiros Denaxas <[email protected]>
Stan Ulbrych <[email protected]> Stan Ulbrych <[email protected]>
Steffen Müller <[email protected]> <[email protected]>
Steffen Müller <[email protected]> <[email protected]>
Steffen Müller <[email protected]> <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,7 @@ Solar Designer <[email protected]>
Spider Boardman <[email protected]>
Spiros Denaxas <[email protected]>
Sreeji K Das <[email protected]>
Stan Ulbrych <[email protected]>
Stanislaw Pusep <[email protected]>
Stas Bekman <[email protected]>
Stefan Seifert <[email protected]>
Expand Down
9 changes: 4 additions & 5 deletions pod/perlpacktut.pod
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ of these two functions.

To see how (un)packing works, we'll start with a simple template
code where the conversion is in low gear: between the contents of a byte
sequence and a string of hexadecimal digits. Let's use C<unpack>, since
this is likely to remind you of a dump program, or some desperate last
message unfortunate programs are wont to throw at you before they expire
into the wild blue yonder. Assuming that the variable C<$mem> holds a
sequence of bytes that we'd like to inspect without assuming anything
sequence and a string of hexadecimal digits. Let's use C<unpack>,
since this may remind you of a hex dump or a crash message emitted by
a program just before it fails. Assuming that the variable C<$mem> holds
a sequence of bytes that we'd like to inspect without assuming anything
about its meaning, we can write

my( $hex ) = unpack( 'H*', $mem );
Expand Down
Loading