in reply to Re^3: Finding in multiple directories
in thread Finding in multiple directories

If you read the documentation for name http://search.cpan.org/perldoc?File::Find::Rule#name you will see that regular expressions are specified using qr operator

Replies are listed 'Best First'.
Re^5: Finding in multiple directories
by Anonymous Monk on Jun 28, 2011 at 18:03 UTC

    Thanks,fixed that.Is the below right?I am not getting any error but ,not sure if the script is searching in both the directories "$data" and "$files".Please advise

    ->in( $data,$files );

      Please advise

      Test it

      md testdirectory md testdirectory\one md testdirectory\two touch testdirectory\one\TEST.lib touch testdirectory\two\IT.lib perl blahblahblah.pl testdirectory\one testdirectory\two