Shutdown

From Botnix

shutdown

The shutdown function is called whenever your module is unloaded. It currently has only one parameter, the perl object "self" scalar which contains the name of your module.