in reply to Please HELP! FILE::MONITOR Configuration

You might want to print newlines to force printouts....you may be suffering from buffering.
$monitor->watch( { name => 'C:/Path', recurse => 1, callback => { files_created => sub { my ($name, $event, $change) = @_; print "@_\n callback fired \n"; #will print right a +way, (on linux anyways) } } } );

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Please HELP! FILE::MONITOR Configuration
by jdlev (Scribe) on Jan 21, 2009 at 18:54 UTC
    It doesn't work, maybe because I'm using windows?