Re: a trivial problem...

2001-06-03 Thread Walt Mankowski
On Sun, Jun 03, 2001 at 12:08:52AM -0500, Brent Alan Buckalew wrote: > Hello all, > > I've constructed a perl script to extract certain lines of data and print > them out and use them in a later analysis. The catch I've run into is > that the style I used for the first batch doesn't work for > t

Re: a trivial problem...

2001-06-03 Thread Greg Meckes
Well you could do it this way, if you're trying to read each line and process the same way (Assuming you only want lines starting with Nitrogen, and the lines are all structured the same): ## START while(){ if (/^Nitrogen/) { @List = split (/\s+/); if ($List[1] <= 0.0) {