Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: scope and undef

by Ryszard (Priest)
on Aug 28, 2007 at 10:28 UTC ( #635556=note: print w/replies, xml ) Need Help??

in reply to Re: scope and undef
in thread scope and undef

thanks for your answer, however, my initial question isnt about the database per se. the database object is just a symptom of the actual problem about why the object is not collected when it "goes out of scope" using the undef.

removal of the undef statement fixed the problem, i now have a single persistent database connection.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-10-22 00:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.