Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: limiting the scope of bless

by jaa (Friar)
on Apr 25, 2007 at 11:10 UTC ( [id://611967]=note: print w/replies, xml ) Need Help??


in reply to Re: limiting the scope of bless
in thread limiting the scope of bless

Most excellent! Doh - I never thought of using scope on a separate object and invoking the $priest->DESTROY to unbless!

Just to confirm - Is DESTROY actually and reliably called when leaving scope, rather than later in a garbage sweep? Wouldn't want the blessing to be too sticky!

Thanks,

Jeff

Replies are listed 'Best First'.
Re^3: limiting the scope of bless
by bunnyman (Hermit) on Apr 25, 2007 at 13:53 UTC
    Yes, perl does not have a background thread for its garbage collector.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found