in reply to Re^4: (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.
If for example, your class uses a database, the destructor would be a good place to close the connection.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: (in cleanup) Can't call method "close" on an undefined value at somePerlModule.pm line number.
by Anonymous Monk on Feb 01, 2015 at 20:06 UTC | |
by BrowserUk (Patriarch) on Feb 01, 2015 at 21:36 UTC |