Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: hex numbers

by shmem (Chancellor)
on Jan 14, 2021 at 18:06 UTC ( #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
Node Status?
node history
Node Type: note [id://11126922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2021-05-14 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (149 votes). Check out past polls.

    Notices?