On Thursday 24 January 2008, [EMAIL PROTECTED] wrote:
> Charlie Farinella <[EMAIL PROTECTED]> writes:
>
> > On Wednesday 16 January 2008, Peter Scott wrote:
> >> 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
From: [EMAIL PROTECTED]
> Charlie Farinella <[EMAIL PROTECTED]> writes:
>
> > On Wednesday 16 January 2008, Peter Scott wrote:
> >> 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 wi
Charlie Farinella <[EMAIL PROTECTED]> writes:
> On Wednesday 16 January 2008, Peter Scott wrote:
>> 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 t
I've set of questions.
1) You want a perl script to monitor a particular directory
2) if so, we can make this script as a daemon so that it monitors the
folder for the file.
here is the sample code...
#!/usr/bin/perl
use strict;
while (1) {
# Monitor the folder here
if (-e "/pat
On Wednesday 16 January 2008, Peter Scott wrote:
> 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 s
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
On Jan 15, 2008 12:13 PM, Charlie Farinella
<[EMAIL PROTECTED]> wrote:
> I need to monitor a directory and when a file is created, modify it.
The trouble isn't noticing when it's been created; the trouble is in
noticing when it's *done* being created. (I doubt whether this is
completely solved by