use File::Find; find sub { if(-f) { system("grep 'theInfoLookingFor' $_ >$_.out"); } }, $rootdir; [download]
In reply to Re: reading from directory by bart in thread reading from directory by splitOnce