Jonathan Rockway > AnyEvent-Inotify-Simple-0.02 > AnyEvent::Inotify::EventReceiver::Callback

Download:
AnyEvent-Inotify-Simple-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source   Latest Release: AnyEvent-Inotify-Simple-0.03

NAME ^

AnyEvent::Inotify::EventReceiver::Callback - delegates everything to a coderef

INITARGS ^

callback

Coderef to be called when an event is received.

DESCRIPTION ^

This EventReceiver delegates every event to the callback coderef. The coderef gets the name of the event being delegated (access, modify, attribute_change, ...) and the args that that event handler would normally get.

syntax highlighting: