Perl module - Execute commands defined by the user when files are created, modified or deleted