http://qs321.pair.com?node_id=180105


in reply to Output numbers in hex

This may be what you're looking for:

printf ("%x", 0xf4a);

See sprintf and printf for more information.

Zenon Zabinski | zdog | zdog@perlmonk.org