The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

EntityModel::Collection - manage entity model definitions

VERSION

version 0.102

SYNOPSIS

OPERATORS

The coderef operator is overloaded by default, allowing syntax such as $self-(event => @data) >.

each

Execute the given code for each item that matches the current chain.

done

Supply a coderef which will be called on successful completion of the chain so far, guaranteed to be after any items have been processed.

fail

Supply a coderef which will be called on error. Default behaviour is to die().

commit

add_handler

has_event_handlers_for

Returns how many event handlers are defined for this event.

has_pending

Returns true if there's anything pending, false otherwise.

DESTROY

When we go out of scope, we want any pending actions to be applied immediately.

INHERITED METHODS

EntityModel::BaseClass

clone, dump, new, sap