File::ChangeNotify::EvUser3Contributed Perl DocumeFile::ChangeNotify::Event(3)NAMEFile::ChangeNotify::Event - Class for file change events
VERSION
version 0.16
SYNOPSIS
for my $event ( $watcher->new_events() )
{
print $event->path(), ' - ', $event->type(), "\n";
}
DESCRIPTION
This class provides information about a change to a specific file or
directory.
METHODS
File::ChangeNotify::Event->new(...)
This method creates a new event. It accepts the following arguments:
· path => $path
The full path to the file or directory that changed.
· 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.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2010 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0
perl v5.14.1 2010-07-12 File::ChangeNotify::Event(3)