Just another Perl shrine | |
PerlMonks |
Pulling specific data from a large text fileby TStanley (Canon) |
on Jun 13, 2014 at 00:51 UTC ( [id://1089748]=perlquestion: print w/replies, xml ) | Need Help?? |
TStanley has asked for the wisdom of the Perl Monks concerning the following question: I have been tasked with retrieving some information from three different files. Each file is the output from a script that collects basic information from specific directories/files (the system in question is a Stratus V Series server, running VOS). The info I need to collect from all three is the same, but there are some differences in the actual output files. An example of the file that I am reading from is below:
Please note I truncated the example file, as the original takes up about 20 printed pages. In each of the files, I need to retrieve the following information:
While the actual listing of the files works, I don't have any output when it runs through getting the file info/index names. TStanley -------- People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -- George Orwell
Back to
Seekers of Perl Wisdom
|
|