> Hi there,
> 
> Can anyone recommend a good way to have a perl script that constantly
> monitors for the creation of new files on UNIX and launches another
> process?
> 
> Thanks!
> 
> Cheers,
> Ben
> 

Lee's method would be the sufficient underkill way. I have an
application that does this type of thing that was written using POE,
which made it trivial, but may make it overkill. For us we needed the
extensibility and scalability that POE offered so it wasn't overkill.

There is a directory watching component in POE or you could grow your
own, sorry I can't provide the one I have (licensing issues). 
POE::Wheel::Run is ideal for managing external processes called from
within the app.

http://poe.perl.org

Has more, be warned there is a learning curve here...

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to