Event is either a string, an array of strings, or undef value. In the latter
case it is equal to * string, which selects all events to be passed in the
SUB. A string is either name of an event, or one of pre-defined event groups,
declared in %groups package hash. The group names are:
These contain respective events. See source for detailed description.
In case event key is an array of strings, each of the strings is also name of either an event or a group. In this case, if * string or event duplicate names are present in the list, SUB is called several times which is obviously inefficient.
|object||A Prima object, or an array of Prima objects, or undef; the latter case matches all objects. If an object is defined, the SUB is called if event source is same as the object.|
If 1, SUB is called using same rules as described in object, but also if
the event source is a child of the object. Thus, selecting undef as a filter
object and setting children to 0 is almost the same as selecting
$::application, which is the root of Prima object hierarchy, as filter
object with children set to 1.
Setting together object to undef and children to 1 is inefficient.
|param||A scalar or array of scalars passed as first parameters to SUB whenever it is called.|
Removes the hook sub for the hook list.
Prima::EventHook by default automatically starts and stops Prima event hook mechanism when appropriate. If it is not desired, for example for your own event hook management, set $auto_hook to 0.
Dmitry Karasik, <email@example.com>.
|perl v5.20.3||PRIMA::EVENTHOOK (3)||2015-09-08|