jdlev has asked for the wisdom of the Perl Monks concerning the following question:
I run the program from my command prompt, and all it does is return nothing to the screen. The code is below. Thanks for any help!
use File::Monitor; my $monitor = File::Monitor->new(); $monitor->watch( { name => 'C:/Path', recurse => 1, callback => { files_created => sub { my ($name, $event, $change) = @_; print "@_"; } } } );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Please HELP! FILE::MONITOR Configuration
by hbm (Hermit) on Jan 21, 2009 at 19:30 UTC | |
|
Re: Please HELP! FILE::MONITOR Configuration
by Not_a_Number (Prior) on Jan 21, 2009 at 22:19 UTC | |
by jdlev (Scribe) on Jan 30, 2009 at 15:13 UTC | |
|
Re: Please HELP! FILE::MONITOR Configuration
by zentara (Cardinal) on Jan 21, 2009 at 18:44 UTC | |
by jdlev (Scribe) on Jan 21, 2009 at 18:54 UTC | |
|
Re: Please HELP! FILE::MONITOR Configuration
by Not_a_Number (Prior) on Jan 21, 2009 at 22:12 UTC |