Perl wrote: > Hello > >>I am using File::Find to find files located at a $dir directory, >>however it goes through all subdirectories. I mean I don't want >>to search recursively. >> >>Also which module you recommend for search and print through the >>files that File::Find will find.
Just use opendir/readdir if you don't want to recurse. If for some reason you still want to use Find, '$File::Find::prune = 1;' will turn of recursion at that point in the tree. _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs