in reply to Very Large Hex Combinations
To get all those from 0x00000000 to 0xFFFFFFFF, all you need to do is count - for a long time. Assuming 32-bit integers,
my $val = 0|0; do { printf "%08X\n", $val++ } while $val;
For longer strings, use Math::BigInt;.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Very Large Hex Combinations
by diotalevi (Canon) on Aug 04, 2005 at 16:28 UTC |