Dave Rolsky > File-ChangeNotify-0.22 > File::ChangeNotify::Event

Download:
File-ChangeNotify-0.22.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  3
Stalled  1
View/Report Bugs
Module Version: 0.22   Source   Latest Release: File-ChangeNotify-0.24

NAME ^

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

VERSION ^

version 0.22

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:

$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) 2012 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: