GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FILE::CHANGENOTIFY::EVENT (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 0.24

SYNOPSIS



    my $watcher = File::ChangeNotify->instantiate_watcher(
        directories => [ /my/path, /my/other ],
        filter      => qr/\.(?:pm|conf|yml)$/,
        exclude => [ t, root, qr(/(?!\.)[^/]+$) ],
    );

    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:
o path => $path

The full path to the file or directory that changed.

o type => $type

The type of event. This must be one of create, modify, delete, or unknown.

CW$event->path()

Returns the path of the changed file or directory.

CW$event->type()

Returns the type of event.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Dave Rolsky.

This is free software, licensed under:



  The Artistic License 2.0 (GPL Compatible)



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FILE::CHANGENOTIFY::EVENT (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.