Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^18: why are hex values not numbers? (octal)

by BrowserUk (Patriarch)
on Oct 03, 2016 at 08:38 UTC ( #1173143=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "%d\n", $string;
    
  2. or download this
    printf "%d\n", hex( $string );
    
  3. or download this
    sub myHex {
        no warnings 'digit';
    ...
    }
    
    printf "%d\n", myHex( $string );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2023-02-08 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (42 votes). Check out past polls.

    Notices?