Allow other classes and objects to respond to events in yours
If you have ever used Java, you may have run across the java.util.Observable class and the java.util.Observer interface. Using them, you can decouple an object from the one or more objects that wish to be notified whenever particular events occur. Class::Observable allows you to mimic this action.
$
pkg install p5-Class-ObservableOrigin
devel/p5-Class-Observable
Size
60.2KiB
License
ART10, GPLv1+
Maintainer
svysh.fbsd@gmail.com
Dependencies
2 packages
Required by
1 packages