http://www.perlmonks.org?node_id=733016

balakrishnan has asked for the wisdom of the Perl Monks concerning the following question:

i need the module to monitor a particular directory for the files creation or modification. I want to have files list when the files under the particular directory not modified for some specific duration.

Thanks,

Replies are listed 'Best First'.
Re: monitor a particular directory
by Perlbotics (Archbishop) on Dec 29, 2008 at 13:29 UTC
Re: monitor a particular directory
by sathiya.sw (Monk) on Dec 29, 2008 at 14:24 UTC
    You may be interested in this module File::Monitor
    Sathiyamoorthy
Re: monitor a particular directory
by zwon (Abbot) on Dec 29, 2008 at 13:29 UTC
    You can take a look onto Linux::Inotify2 for directory monitoring, though it's Linux specific and seems not exactly what you want.
Re: monitor a particular directory
by fmerges (Chaplain) on Dec 29, 2008 at 15:09 UTC

    Hi,

    If you're using POE or as a source of inspiration, you can also take a look at POE::Component::DirWatch.

    Regards,

    fmerges at irc.freenode.net
Re: monitor a particular directory
by spmlingam (Scribe) on Dec 30, 2008 at 06:22 UTC
    The module Sys::Gamin can help you to monitor directories.