1File::ChangeNotify::EveUnste(r3)Contributed Perl DocumenFtialtei:o:nChangeNotify::Event(3)
2
3
4

NAME

6       File::ChangeNotify::Event - Class for file change events
7

VERSION

9       version 0.16
10

SYNOPSIS

12           for my $event ( $watcher->new_events() )
13           {
14               print $event->path(), ' - ', $event->type(), "\n";
15           }
16

DESCRIPTION

18       This class provides information about a change to a specific file or
19       directory.
20

METHODS

22   File::ChangeNotify::Event->new(...)
23       This method creates a new event. It accepts the following arguments:
24
25       ·   path => $path
26
27           The full path to the file or directory that changed.
28
29       ·   type => $type
30
31           The type of event. This must be one of "create", "modify",
32           "delete", or "unknown".
33
34   $event->path()
35       Returns the path of the changed file or directory.
36
37   $event->type()
38       Returns the type of event.
39

AUTHOR

41         Dave Rolsky <autarch@urth.org>
42
44       This software is Copyright (c) 2010 by Dave Rolsky.
45
46       This is free software, licensed under:
47
48         The Artistic License 2.0
49
50
51
52perl v5.12.1                      2010-07-12      File::ChangeNotify::Event(3)
Impressum