Compared to other scripting languages, I'm most impressed with Perl and trying to learn it as quickly as possible. However I need your help with a project at work. I need to open up each file in an approximate 50,000 file directory and extract the first 36 digit word (actually an object handle), write the name of each file opened along with this 36 digit word (object handle) to a text file, close that file and loop through each of the remaining files doing the same thing.

This is probably as easy as pie for some of you Perl guru's, and I relish the time when I can be labeled as such. But for now, I am crawling and need your input for this project. Please help. Thanks

Paul, thanks for all of your help. It seems obvious that I have not loaded perl correctly because I put in some simple scripts that is suppose to produce an output file. In these examples it produces the output file, but does not write the expeced data to the file.

When installing perl for xp OS, is there a module install or some other step that I am suppose to take to insure that all works well. I simply installed it using the MSI installer.

Hello Paul, I was able to output the file. It does indeed write the name of the file, however it does not get the first 36 character word. For example: I am trying to get the 1st 36 digit word; in this case I need to get (A6C0BDB4-92A9-11D1-96F8-00805FE246D4) and close that file and go to the next. So the output for this file would be: