Re: Monitor a directory for file creation



On Tue, 15 Jan 2008 15:13:29 -0500, Charlie Farinella wrote:
I need to monitor a directory and when a file is created, modify it.
I've been playing with Linux::Inotify2 and may be able to make that
work, but am wondering if this is something that people do routinely.

My search at CPAN wasn't particularly fruitful.

Did you see File::Monitor?

--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/

.



Relevant Pages

  • Re: Monitor a directory for file creation
    ... Peter Scott wrote: ... I've been playing with Linux::Inotify2 and may be able to make that ... Charles Farinella ... voice: 603.924.6079 fax: 603.924.8668 ...
    (perl.beginners)
  • Re: Guitar Scales Question
    ... shown you how to apply the modes to your playing in a fruitful way. ... Many of those "real" solos that you are memorizing were likely written as a ... But I'm still fairly confident in saying that earlier on in a player's experience they should be more focussed on ear training, more rudimentary theory and just the mechanics of playing and less focussed on modes. ...
    (alt.guitar.beginner)
  • Re: Redirecting STDOUT to a file
    ... Err... ... :) You have to output everything twice; but I'm sure there is a module ... on CPAN to do it for you. ... We do not stop playing because we grow old; ...
    (comp.lang.perl.misc)