Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i was told by another source that i could use a foreach loop to state that i wanted it to go through each line and then get an array of each line with a split(/ /) command the only problem is that i have no idea how to get a foreach loop to go line by line.
i dont need it to store these values for any longer than it takes for it to find a max and a min for the x and a max for each y
all numbers are in a 0.00000000E00 config and there are negatives present.
what would be the most graceful way that anyone can think of to get through this.
any suggestion would be much appreciated.
Restored paragraph div's - dvergin 2002-07-03
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: n00b reading info from file
by Popcorn Dave (Abbot) on Jul 03, 2002 at 18:09 UTC | |
by Aristotle (Chancellor) on Jul 03, 2002 at 19:45 UTC | |
by Popcorn Dave (Abbot) on Jul 03, 2002 at 22:00 UTC | |
|
Re: n00b reading info from file
by Aristotle (Chancellor) on Jul 03, 2002 at 19:56 UTC |