Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Is this BEGIN construct supposed to work? (does not)

by tye (Cardinal)
on Nov 02, 2011 at 22:21 UTC ( #935509=note: print w/ replies, xml ) Need Help??


in reply to Is this BEGIN construct supposed to work?

I don't see $hash{KEY} being retained except on the very first call to routine(). This is what I expected as the %hash gets (re)initialized when the containing scope is left.

- tye        


Comment on Re: Is this BEGIN construct supposed to work? (does not)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-08-31 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls