in reply to finding stuff in the docs
However, if the last reference to a blessed object is removed, Perl does look for a method named DESTROY (note uppercase letters, they're required!). And if it can find a DESTROY method, it will execute that. But the author of the module (or one of the modules from which it inherits) will have to have written that method specifically!
Hope this helps.
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: finding stuff in the docs
by Abigail-II (Bishop) on Oct 20, 2003 at 14:49 UTC | |
by liz (Monsignor) on Oct 20, 2003 at 14:54 UTC |