jmccaslin has asked for the wisdom of the Perl Monks concerning the following question:
I have a simple file in the format
TIME number of steps: 13 time values: 2.83506E+03 2.83697E+03 2.83911E+03 2.84117E+03 2.84331E+03 2.84544E+03 2.84750E+03 2.84958E+03 2.85172E+03 2.85383E+03 2.85588E+03 2.85804E+03 2.86012E+03
and I would like to take the time values and store them in an array. I'm sure this is very simple, but I'm not sure how to do it using Perl... Any help is much appreciated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: getting numeric data from a file into an array
by runrig (Abbot) on Nov 01, 2011 at 17:40 UTC | |
by jmccaslin (Initiate) on Nov 02, 2011 at 04:09 UTC | |
Re: getting numeric data from a file into an array
by roboticus (Chancellor) on Nov 01, 2011 at 17:43 UTC | |
by jmccaslin (Initiate) on Nov 02, 2011 at 04:03 UTC | |
Re: getting numeric data from a file into an array
by NetWallah (Canon) on Nov 02, 2011 at 03:05 UTC | |
by jmccaslin (Initiate) on Nov 02, 2011 at 04:10 UTC |
Back to
Seekers of Perl Wisdom