Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Using constants as hash keys

by oiskuu (Hermit)
on Jan 08, 2018 at 13:26 UTC ( [id://1206907]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      enum { FOO = 2 };
      enum { FOO = 3 }; // error: redefinition of enumerator
    
  2. or download this
      *FOO = \1.2;
      *FOO = \3.4;
      print our $FOO;   # prints 3.4
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found