in reply to how to extract script output in new text file ?

Hi Chris202!
Easy way to save your output when you run your script in terminal is:
$ perl your_script.pl > report.txt
The report.txt file will have all what script have found.
Ofcourse if you don't want to know more about perl.