The_Dj has asked for the wisdom of the Perl Monks concerning the following question:
Any help?use Win32::FileSystem::Watcher; my $watcher = Win32::FileSystem::Watcher->new("c:\\test"); $watcher->start(); while (1) { my @entries = $watcher->get_results(); foreach my $entry (@entries) { print $entry->action_name . " " . $entry->file_name . "\n"; } sleep 2; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Watching for files to change
by kcott (Archbishop) on Nov 09, 2013 at 17:35 UTC | |
by The_Dj (Scribe) on Nov 10, 2013 at 07:22 UTC | |
by kcott (Archbishop) on Nov 10, 2013 at 13:58 UTC |