Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: a general question on references...

by TheoPetersen (Priest)
on Jul 18, 2001 at 23:41 UTC ( #97855=note: print w/replies, xml ) Need Help??


in reply to a general question on references...

A lexical variable dies when its reference count goes to zero. Since you return a reference to %hash, it lives on :)
  • Comment on Re: a general question on references...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://97855]
help
Chatterbox?
[Discipulus]: good morning nuns and monks!

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-10-24 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?