Destructor in Moose
Usually you don't need to implement a destructor in Perl. but in case you do DESTROY is the name in standard perl and DEMOLISH in Moose.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Usually you don't need to implement a destructor in Perl. but in case you do DESTROY is the name in standard perl and DEMOLISH in Moose.