http://www.perlmonks.org?node_id=536407


in reply to Re^2: Problem with POE-Component-DirWatch
in thread Problem with POE-Component-DirWatch

Thanks for all monks! I try to modify the filter to
Filter => sub { $_[0] =~ /.txt$/ && -f $_[1] },
then I re-run, it print the following message repeatly until i del file test.txt manually
Tue Mar 14 06:41:06 2006 test.txt (C:\temp\test.txt) Tue Mar 14 06:41:06 2006 test.txt (C:\temp\test.txt)
however I try paste new_test.txt to c:\temp\, it seems no response (May be the same with runrig) my perl version is "v5.8.4 built for MSWin32-x86-multi-thread"