| File-ChangeNotify documentation | view source | Contained in the File-ChangeNotify distribution. |
File::ChangeNotify::Event - Class for file change events
version 0.20
for my $event ( $watcher->new_events() )
{
print $event->path(), ' - ', $event->type(), "\n";
}
This class provides information about a change to a specific file or directory.
This method creates a new event. It accepts the following arguments:
The full path to the file or directory that changed.
The type of event. This must be one of "create", "modify", "delete", or "unknown".
Returns the path of the changed file or directory.
Returns the type of event.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
| File-ChangeNotify documentation | view source | Contained in the File-ChangeNotify distribution. |