Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Iterator::BreakOn::Event
Build and destroy events

Iterator::BreakOn::Event - Build and destroy events


NAME

Iterator::BreakOn::Event - Build and destroy events


VERSION

This documentation refers to Iterator::BreakOn::Event version 0.1


SYNOPSIS


    use Iterator::BreakOn::Event;

    my $event = Iterator::BreakOn::Event->new( { 

                    name    => 'before_location',

                    field   =>  'location',

                    value   =>  'AVILA',

                    });

    if ($event->name() eq 'AVILA') {

        # do something ...

    }


DESCRIPTION

This module build and destroy event objects for the Iterator::BreakOn package.


SUBROUTINES/METHODS

new( )

Create and initialize a new Iterator::BreakOn::Event object. Return a reference to the new object or undef in case of fail.

name( )

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.

field( )

Accessor/mutator for the field attribute of the object.

value( )

Accessor/mutator for the value attribute of the object.


DIAGNOSTICS

invalid event name


DEPENDENCIES

Class::Accessor


BUGS AND LIMITATIONS

There are no known bugs in this module. Please report problems to the author. Patches are welcome.


AUTHOR

VĂ­ctor Moral <victor@taquiones.net>


LICENSE AND COPYRIGHT

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy