Class-Observable module for perl

Edit Package perl-Class-Observable

Class-Observable module for perl

If you have ever used Java, you may have run across the java.util.Observable class
and the java.util.Observer interface. With them you can decouple an object from
the one or more objects that wish to be notified whenever particular events occur.

These events occur based on a contract with the observed item. They may occur at
the beginning, in the middle or end of a method. In addition, the object knows
that it is being observed. It just does not know how many or what types of
objects are doing the observing. It can therefore control when the messages
get sent to the obsevers.

The behavior of the observers is up to you. However, be aware that we do not do
any error handling from calls to the observers. If an observer throws a die,
it will bubble up to the observed item and require handling there. So be careful.

Throughout this documentation we refer to an 'observed item' or 'observable item'.
This ambiguity refers to the fact that both a class and an object can be observed.
The behavior when notifying observers is identical. The only difference comes in
which observers are notified.
(See "Observable Classes and Objects" for more information.)

Author: Chris Winters

-------------------------------------------------------------------------------

Refresh
Refresh
Source Files
Filename Size Changed
Class-Observable-2.004.tar.gz 0000019475 19 KB
cpanspec.yml 0000000923 923 Bytes
perl-Class-Observable.changes 0000001771 1.73 KB
perl-Class-Observable.spec 0000002416 2.36 KB
Latest Revision
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 1001429 from Tina Müller's avatar Tina Müller (tinita) (revision 8)
- updated to 2.004
   see /usr/share/doc/packages/perl-Class-Observable/Changes
  2.004 Sat 03 Sep 2022
  	- No functional changes
  	- Updated packaging
  2.003 Thu 01 Sep 2022
  	- No functional changes
  	- Internal POD link fixes
Comments 0
openSUSE Build Service is sponsored by