Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: How Constant pragma works with multi constants

by AnomalousMonk (Abbot)
on Feb 06, 2013 at 14:03 UTC ( #1017439=note: print w/ replies, xml ) Need Help??


in reply to Re: How Constant pragma works with multi constants
in thread How Constant pragma works with multi constants

If it is making hash reference...

constant doesn't make a hash reference; the programmer does that. constant takes a hash reference as an argument and uses the data contained in the referent (the key/value pairs) to create constants (empty-prototyped functions). Again, see the source.


Comment on Re^2: How Constant pragma works with multi constants
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (15)
As of 2014-10-21 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls