Deep_Plaid has asked for the wisdom of the Perl Monks concerning the following question:
Foremost, my profuse apologies to the Perl Monk Community for such a basic, pathetic, high level question. I have been absent from PERL programming for several years, and my attempts at Google searches for a solution have proven fruitless. Here are the basics of what I am attempting to accomplish:
1) Run a command that collects multiple line information (i.e., a flexlm command that lists current users of a certain tool, multiple line output that contains data separated by spaces such as user name, machine, etc.). I have actually accomplished this first task.
2) Collect information from this output and organize it in a usable format. This should be fairly simple. The output from the command has multiples lines. Each line has the same basic format. I want to capture this information in an array where I can identify data from each line that is delimited by spaces, then take parts of this data and apply it to further commands. I have accomplished running the command to collect the data, but have failed to get each line of the data to put applied to an array. Please let me know what further details I can share to give you better insight on answering my question.
Thanks, DP
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Generic Data Collection
by toolic (Bishop) on Mar 30, 2013 at 23:34 UTC | |
by Deep_Plaid (Acolyte) on Mar 31, 2013 at 13:00 UTC | |
by Not_a_Number (Prior) on Mar 31, 2013 at 14:22 UTC | |
by Deep_Plaid (Acolyte) on Mar 31, 2013 at 16:03 UTC | |
by Anonymous Monk on Mar 31, 2013 at 17:03 UTC | |
| |
by farang (Chaplain) on Mar 31, 2013 at 19:39 UTC | |
by Deep_Plaid (Acolyte) on Apr 01, 2013 at 11:15 UTC |
Back to
Seekers of Perl Wisdom