Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: why are hex values not numbers?

by stevieb (Canon)
on Sep 26, 2016 at 20:53 UTC ( [id://1172670]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -wMstrict -E 'my $x="0x41"; my $y = \$x; say $y->$*'
    0x41
    
  2. or download this
    perl -wMstrict -E 'my $href={a=>1}; say $_ for keys $href->%*'
    a
    
  3. or download this
    perl -wMstrict -E 'my $href={a=>1}; say $_ for keys %{ $href }'
    a
    
  4. or download this
    perl -wMstrict -E 'my $href={a=>1}; say $_ for keys %$href'
    a
    

Log In?
Username:
Password:

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

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

    No recent polls found