in reply to (tye)Re: How can I call other objects from my object during DESTROY
in thread How can I call other objects from my object during DESTROY
A number of people have suggested to "not put my objects into global variables" or to "use my()". Where am I putting Special::Object into a global variable? My module returns a blessed hashref, which itself contains (a reference to) another object. While someone seemed to claim that my case wouldn't happen, I most certainly have code in which it does (i.e. when object A's DESTROY is called, object B has already been DESTROY'ed and thus is no longer available to call methods on).
Thanks for clearing up the confusion.
-Aaron
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re3: How can I call other objects from my object during DESTROY
by tye (Sage) on Jul 11, 2001 at 05:44 UTC | |
by Anonymous Monk on Jul 11, 2001 at 06:05 UTC | |
by tye (Sage) on Jul 11, 2001 at 07:45 UTC | |
|
Re: Re: (tye)Re: How can I call other objects from my object during DESTROY
by dmmiller2k (Chaplain) on Jul 11, 2001 at 18:48 UTC |