I'm trying to fill an array with list of Hex numbers, 0x0 to 0xFF. When I print my array, it just shows decimal numbers in there. Is this just the way it works, or do I missing something to get Hex numbers in there?
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
my @hex_nums = ( 0x0 .. 0xFF );
print Dumper \@hex_nums;