while( $Monitor->FindNext() ) #### sub FindNext { &reset } #### while( 1 ) { print "Monitoring noted filesystems....\n"; $Monitor->FindNext(); $Monitor->Wait( INFINITE ); print "\t A change to $SCRIPT_PATH\n"; }
## sub FindNext { &reset } ##
## while( 1 ) { print "Monitoring noted filesystems....\n"; $Monitor->FindNext(); $Monitor->Wait( INFINITE ); print "\t A change to $SCRIPT_PATH\n"; }