my $first = 0x2d; my $second = 0x05; my $string = sprintf("%02X%02X", hex($first), hex($second));
The basic idea is to sprintf() them, then concatenate the resultant strings.
In reply to Re: Constructing 32-bit hexadecimal integers
by satchboost
in thread Constructing 32-bit hexadecimal integers
by donfreenut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |