Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: BEGIN block and failure to initialize constants

by temporal (Pilgrim)
on Sep 17, 2012 at 22:03 UTC ( #994124=note: print w/ replies, xml ) Need Help??


in reply to Re: BEGIN block and failure to initialize constants
in thread BEGIN block and failure to initialize constants

Oh man, I was overthinking this problem way too much. For some reason I thought constants were a special case and forgot entirely about use's equivalence to a BEGIN block as you just described.

Thanks for dusting that knowledge off for me kennethk.

Also, cool note about nesting those blocks, TIL. =)

Strange things are afoot at the Circle-K.


Comment on Re^2: BEGIN block and failure to initialize constants
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-20 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls