Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How Constant pragma works with multi constants

by BrowserUk (Pope)
on Feb 06, 2013 at 13:26 UTC ( #1017427=note: print w/ replies, xml ) Need Help??


in reply to How Constant pragma works with multi constants

my point is that while "{}" is used for hash reference but how it is taking and works

It looks inside the hash and creates one constant subroutine for each key/value pair, with the key as the name and the value as the value.

Now what's your real question? :)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: How Constant pragma works with multi constants

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2015-07-06 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls