in reply to left justify/pad hex value
Use %02x instead of %x
If someone has a better suggestion on how to accomplish this
unpack 'H*', pack 'C4', @octets;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: left justify/pad hex value
by TheBigAmbulance (Acolyte) on Mar 03, 2010 at 19:36 UTC | |
by jwkrahn (Abbot) on Mar 03, 2010 at 19:42 UTC | |
by shmem (Chancellor) on Mar 03, 2010 at 21:28 UTC | |
by TheBigAmbulance (Acolyte) on Mar 03, 2010 at 20:08 UTC | |
by cdarke (Prior) on Mar 03, 2010 at 20:38 UTC |