Don't ask to ask, just ask | |
PerlMonks |
Re: Re: passing hex argument as stringby Anonymous Monk |
on Nov 04, 2003 at 02:52 UTC ( [id://304306]=note: print w/replies, xml ) | Need Help?? |
yes I am familiar with printf function. But I can not do that.
Beccause the function that takes $chr is *FIXED*, and I can not change it.
So what I want is a function that:
# takes a hex number 0xff
# returns string "ff" and NOT 255
In Section
Seekers of Perl Wisdom
|
|