Query: filesys::notify::simple
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Filesys::Notify::Simple(3pm) User Contributed Perl Documentation Filesys::Notify::Simple(3pm)NAMEFilesys::Notify::Simple - Simple and dumb file system watcherSYNOPSISuse Filesys::Notify::Simple; my $watcher = Filesys::Notify::Simple->new([ "." ]); $watcher->wait(sub { for my $event (@_) { $event->{path} # full path of the file updated } });DESCRIPTIONFilesys::Notify::Simple is a simple but unified interface to get notifications of changes to a given filesystem path. It utilizes inotify2 on Linux and fsevents on OS X if they're installed, with a fallback to the full directory scan if they're not available. There are some limitations in this module. If you don't like it, use File::ChangeNotify. o There is no file name based filter. Do it in your own code. o You can not get types of events (created, updated, deleted). o Currently "wait" method blocks. In return, this module doesn't depend on any non-core modules. Platform specific optimizations with Linux::Inotify2 and Mac::FSEvents are truely optional.AUTHORTatsuhiko Miyagawa <miyagawa@bulknews.net>LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOFile::ChangeNotify Mac::FSEvents Linux::Inotify2 perl v5.12.4 2011-09-27 Filesys::Notify::Simple(3pm)
Related Man Pages |
---|
filesys::df(3pm) - debian |
filesys::notify::simple(3pm) - debian |
filesys::statvfs(3pm) - debian |
http::server::simple::authen(3pm) - debian |
pod::simple::wiki::tiddlywiki(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Unix on Mac |
File Watcher Anamolous Behaviour |
Perl Module installation |
Simple Newbee question |
Generic Filewatcher |