Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: I need Hex conversion, not!

by Corion (Pope)
on Jan 07, 2013 at 13:04 UTC ( #1012022=note: print w/ replies, xml ) Need Help??


in reply to I need Hex conversion, not!

Numbers are numbers. Their format is determined on output. See sprintf.

If you want to use strings, then use strings.

$SM = "0xFE"; print $SM;

Of course, for strings, there is no numeric addition. Maybe you want to tell us more about your use case.


Comment on Re: I need Hex conversion, not!
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012022]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2014-04-18 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (468 votes), past polls