skyler has asked for the wisdom of the Perl Monks concerning the following question:
I need to write a program that reads a file and grab a value from a string then it matches the sting against a list of files in a directory. The files are formatted (mj123456.pdf, etc) the string that I'm trying to match is "123456" I know how to read files and grab strings but I have not dealt with matching a string against a list of files in a directory. sort of like a search base on a pattern. I will appreciate any suggestions on how to write the program.