Install libobject-pluggable-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libobject-pluggable-perl
base class for creating plugin enabled objects
Object::Pluggable is a base class for creating plugin enabled objects. It is a generic port of POE::Component::IRC's plugin system. If your component dispatches events to listeners, then Object::Pluggable may be a good fit for you.