… | |
… | |
30 | $e->w->cancel; |
30 | $e->w->cancel; |
31 | }); |
31 | }); |
32 | |
32 | |
33 | =head1 DESCRIPTION |
33 | =head1 DESCRIPTION |
34 | |
34 | |
35 | =head2 The Linux::Inotify2 Class |
|
|
36 | |
|
|
37 | This module implements an interface to the Linux 2.6.13 and later Inotify |
35 | This module implements an interface to the Linux 2.6.13 and later Inotify |
38 | file/directory change notification sytem. |
36 | file/directory change notification sytem. |
39 | |
37 | |
40 | It has a number of advantages over the Linux::Inotify module: |
38 | It has a number of advantages over the Linux::Inotify module: |
41 | |
39 | |
42 | - it is portable (Linux::Inotify only works on x86) |
40 | - it is portable (Linux::Inotify only works on x86) |
43 | - the equivalent of fullname works correctly |
41 | - the equivalent of fullname works correctly |
44 | - it is better documented |
42 | - it is better documented |
45 | - it has callback-style interface, which is better suited for |
43 | - it has callback-style interface, which is better suited for |
46 | integration. |
44 | integration. |
|
|
45 | |
|
|
46 | =head2 The Linux::Inotify2 Class |
47 | |
47 | |
48 | =over 4 |
48 | =over 4 |
49 | |
49 | |
50 | =cut |
50 | =cut |
51 | |
51 | |