Offshore_Worker has asked for the wisdom of the Perl Monks concerning the following question:
I need to put the 1st value into an array of its own, without the "+" sign, and the 2nd value into its array. Thank you to all those who help me with this bit coding. From the posts, it seems that my query was slighly obscure. What I'm looking to do is take the before-mentioned file and read the data into two arrays so that one array contains249+69,775.83 249+67,775.93 249+65,776.11
whilst the other contains24969 24967 24965
There will be about 400 records total. If it seems like I'm asking without due diligence, it is only because I'm offshore at the moment, 6 weeks now, sans books and high speed connection. Again, sincere thanks for all the help and guidance.775.83 775.93 776.11
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Read from file to two arrays.
by bobf (Monsignor) on Apr 15, 2007 at 04:08 UTC | |
|
Re: Read from file to two arrays.
by GrandFather (Saint) on Apr 15, 2007 at 04:06 UTC | |
|
Re: Read from file to two arrays.
by agianni (Hermit) on Apr 15, 2007 at 04:13 UTC | |
by Anno (Deacon) on Apr 15, 2007 at 09:08 UTC | |
|
Re: Read from file to two arrays.
by jonadab (Parson) on Apr 15, 2007 at 12:04 UTC |