Rechercher une page de manuel
File::ChangeNotify::Event.3pm
Langue: en
Version: 2010-03-28 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
File::ChangeNotify::Event - Class for file change eventsSYNOPSIS
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 & LICENSE
Copyright 2009 Dave Rolsky, All Rights Reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre