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

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2015-10-09 05:39 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (233 votes), past polls