Query: file::changenotify::event
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
File::ChangeNotify::Event(3pm) User Contributed Perl Documentation File::ChangeNotify::Event(3pm)NAMEFile::ChangeNotify::Event - Class for file change eventsVERSIONversion 0.22SYNOPSISfor my $event ( $watcher->new_events() ) { print $event->path(), ' - ', $event->type(), " "; }DESCRIPTIONThis class provides information about a change to a specific file or directory.METHODSFile::ChangeNotify::Event->new(...) This method creates a new event. It accepts the following arguments: o path => $path The full path to the file or directory that changed. o type => $type The type of event. This must be one of "create", "modify", "delete", or "unknown". $event->path() Returns the path of the changed file or directory. $event->type() Returns the type of event.AUTHORDave Rolsky <autarch@urth.org>COPYRIGHT AND LICENSEThis software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-04-14 File::ChangeNotify::Event(3pm)