develooper Front page | perl.beginners | Postings from September 2009

Re: watch folder concept in Perl

Thread Previous | Thread Next
From:
Jenda Krynicky
Date:
September 7, 2009 07:54
Subject:
Re: watch folder concept in Perl
Message ID:
4AA53ABF.15631.5CCF3BE@Jenda.Krynicky.cz
Date sent:      	Mon, 7 Sep 2009 17:58:35 +0530
Subject:        	watch folder concept in Perl
From:           	Ganesh Babu N <nbabuganesh@gmail.com>
To:             	Perl <beginners@perl.org>

> Dear All,
> 
> Can we develop application which will watch a specific folder and when
> any files comes into the folder then some action takes place in Perl.
> 
> Similar to an windows service. Is it possible in Perl.
> 
> Regards,
> Ganesh

There are several libraries for this. For Windows have a look at 
Win32::ChangeNotify and Win32::IPC.

Jenda
===== Jenda@Krynicky.cz === 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


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About