Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[Cosmic37]: sort of anyway... hurls some peaches... :-D
[Cosmic37]: when slurping one can undef the record separator thingy; but presumably one should redefine it afterwards? how?
[Cosmic37]: I'm wondering whether there is a specific/(or at least "usual") command or does one take a copy before undefining and then copy it back after slurping file into a string?
[BarApp]: I need help accessing perl files. I need permission!!!

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-06-29 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.