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.