Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: hex numbers

by shmem (Chancellor)
on Jan 14, 2021 at 18:06 UTC ( [id://11126922]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # This works but is NOT recommended, and can be unsafe.
    my $n = eval "0xDEADBEEF";
    ...
    
    # Output:
    # 3735928559
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-24 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found