Iterator::BreakOn::Event - Build and destroy events
This documentation refers to Iterator::BreakOn::Event version 0.1
use Iterator::BreakOn::Event; my $event = Iterator::BreakOn::Event->new( { name => 'before_location', field => 'location', value => 'AVILA', }); if ($event->name() eq 'AVILA') { # do something ... }
This module build and destroy event objects for the Iterator::BreakOn package.
Create and initialize a new Iterator::BreakOn::Event object. Return a reference to the new object or undef in case of fail.
Accessor/mutator for the event name. This parameter only can be 'on_first', 'on_last', 'on_every', 'before_*', or 'after_*'; other values raise an exception.
Accessor/mutator for the field attribute of the object.
Accessor/mutator for the value attribute of the object.
There are no known bugs in this module. Please report problems to the author. Patches are welcome.
Víctor Moral <victor@taquiones.net>
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Víctor'. Assuming UTF-8
To install Iterator::BreakOn, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Iterator::BreakOn
CPAN shell
perl -MCPAN -e shell install Iterator::BreakOn
For more information on module installation, please visit the detailed CPAN module installation guide.