in reply to Re: (in cleanup) Can't call method "close" on an undefined value at somePerlModule.pm line number.
in thread (in cleanup) Can't call method "close" on an undefined value at somePerlModule.pm line number.
Hello Rolf,
Thank you for your time and effort reading and replying to my question. Since this is my first time programming in OO way can answer me if we need to use Destructors?
According to the documentation:
If you want to do something when the object is destroyed, you can defi +ne a DESTROY method in your class. This method will always be called +by Perl at the appropriate time, unless the method is empty.
Cheers Thanos
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: (in cleanup) Can't call method "close" on an undefined value at somePerlModule.pm line number.
by LanX (Saint) on Jan 30, 2015 at 14:48 UTC | |
by thanos1983 (Parson) on Jan 30, 2015 at 22:31 UTC |