Nice idea. However, it does not seem to work if a sub-directory of a directory in @INC has been modified. Since directories under @INC can be arbitrarily deep, it would be necessary to perform a find on all directories, which is what the init file was designed to avoid.
in reply to Re^2: Find installed Perl modules matching a regular expression
in thread Find installed Perl modules matching a regular expression
Perhaps there is a more efficient way to check if any directory has been modified throughout a tree.