Here is one I didn't see listed that I often use for debugging...
printf "0x%*v2.2X\n", ' ', $payload;
If $payload is several bytes of data, this will print something like:
0x01 02 03 CF
In reply to Re^3: Printing byte as 2 Hex characters
by KevinZwack
in thread Printing byte as 2 Hex characters
by ShiningPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |