Changes for version 2.0 - 2018-10-25

  • fix poll and read documentation w.r.t. errors - this changes the documented API, but is how the module has always behaved.
  • mention https://lwn.net/Articles/605128/ in the docs.
  • new on_overflow callback, called for overflow events.
  • new ->broadcast method that calls all watchers with some event.
  • automatically broadcast overflow events to all watchers by default.
  • read now returns all events (except ignored ones), not just ones it has registered watchers for (e.g. overflow events).
  • reduced dependencies (Mike Pomraning).
  • add IN_EXCL_UNLINK flag.
  • more efficient constant initialisation.

Modules

scalable directory/file change notification

Provides

in Inotify2.pm
in Inotify2.pm

Examples