I need a perl script that will open all text files in a directory and parse then for 2 unique items. Example text:
I will need to get the "hostname" and "key" from every text file...around 4500 text files in this directory and place them in a .csv file with this format:
where hostname is the actual hostname and key it the actually key. I do not need the actual word "hostname" or "key".
I am a extremely novice perl programmer. If you could send it to me in script format that would be extremely helpful.
Thank you so much!