in reply to Output numbers in hex
printf ("%x", 0xf4a);
See sprintf and printf for more information.
Zenon Zabinski | zdog | zdog@perlmonk.org