in reply to Re^3: Invalid top directory at C:/Perl/lib/File/Find.pm line 598
in thread Invalid top directory at C:/Perl/lib/File/Find.pm line 598

Maybe it's easier to change

#find(\&processTimestamp, @directories_to_search);#$inputDir);

to:

find(\&processTimestamp, ($inputDir) );

and delete the whole @directories_to_search initialisation.

Replies are listed 'Best First'.
Re^5: Invalid top directory at C:/Perl/lib/File/Find.pm line 598
by JHermida (Initiate) on Sep 21, 2011 at 16:44 UTC

    Yes, it is a lot easier to do that but it results in the script entering an infinite loop.

    Has anyone tried running the script on their machine?