in reply to search for a pattern in file without opening the file

i want to search for a pattern inside these files without opening these files.
well... you have to use the module Crystal::Ball which is very good in guessing what's in a file.

seriously, how do you want to know the contents of a file without opening it?