Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
do { $_ = <> } until /formulae/;
Is what i have so far, which finds the first 'formulae' word. I need to be able to find the second...
Ne Ideas? Cheers, Steve
20031027 Edit by Corion: Changed title from 'second match...'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding the second line an item appears on
by Abigail-II (Bishop) on Oct 27, 2003 at 16:56 UTC | |
|
Re: Finding the second line an item appears on
by dreadpiratepeter (Priest) on Oct 27, 2003 at 16:42 UTC | |
|
Re: Finding the second line an item appears on
by hardburn (Abbot) on Oct 27, 2003 at 17:03 UTC | |
|
Re: Finding the second line an item appears on
by monktim (Friar) on Oct 27, 2003 at 18:48 UTC | |
|
Re: second match...
by Anonymous Monk on Oct 27, 2003 at 17:18 UTC | |
|
Re: Finding the second line an item appears on
by Anonymous Monk on Oct 27, 2003 at 16:44 UTC | |
by dreadpiratepeter (Priest) on Oct 27, 2003 at 16:52 UTC | |
|
Re: Finding the second line an item appears on
by Art_XIV (Hermit) on Oct 27, 2003 at 16:47 UTC |