0xFF is just a different way of writing the decimal number 255; they are interchangeable in your Perl source code. Since decimal is the "native" number representation for humans, Perl outputs numbers in a decimal base, unless instructed otherwise.
The printf or sprintf function will coerce the numbers into hex strings:
my @hex_nums = map { sprintf '%02X', $_ } 0..255;
In reply to Re: Hex Numbers and Range Operator
by Util
in thread Hex Numbers and Range Operator
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |