If for example, your class uses a database, the destructor would be a good place to close the connection.
In reply to Re^5: (in cleanup) Can't call method "close" on an undefined value at somePerlModule.pm line number.
by BrowserUk
in thread (in cleanup) Can't call method "close" on an undefined value at somePerlModule.pm line number.
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |