Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: hex numbers

by haukex (Bishop)
on Jan 14, 2021 at 13:32 UTC ( #11126908=note: print w/replies, xml ) Need Help??


in reply to hex numbers

I am simply trying to get the hex value into a variable.

If by that you mean converting something like the string "FE" into the number 254, then what you are looking for is hex.

Update: And if that's not what you're looking for, please show an SSCCE, in particular please show the contents of the variable you're trying to convert using Data::Dump or Data::Dumper with $Data::Dumper::Useqq=1;.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-05-17 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (168 votes). Check out past polls.

    Notices?