From: Chris  Zimmerman <[EMAIL PROTECTED]>
> Is there some way that I can write a bit of code that will watch a
> directory and as soon as a file is written to that directory,
> something is run against that file?  What would be the best way to
> turn this into a daemon?

Depends on the OS.
Under windows it'd be Win32::ChangeNotify and 
Win32::Daemon(::Simple)?

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to