XP is just a number | |
PerlMonks |
Re^2: limiting the scope of blessby jaa (Friar) |
on Apr 25, 2007 at 11:10 UTC ( [id://611967]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|