p.s has asked for the wisdom of the Perl Monks concerning the following question:
while($currentLine =~ /\s$pattern\s/g){ $count +=1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: while =~ consecutive matching problem
by Eimi Metamorphoumai (Deacon) on Nov 12, 2004 at 16:36 UTC | |
by p.s (Initiate) on Nov 12, 2004 at 16:55 UTC | |
by Eimi Metamorphoumai (Deacon) on Nov 12, 2004 at 17:33 UTC | |
|
Re: while =~ consecutive matching problem
by davido (Cardinal) on Nov 12, 2004 at 16:29 UTC | |
by p.s (Initiate) on Nov 12, 2004 at 16:35 UTC | |
by davido (Cardinal) on Nov 12, 2004 at 16:50 UTC | |
|
Re: while =~ consecutive matching problem
by Grygonos (Chaplain) on Nov 12, 2004 at 16:33 UTC | |
|
Re: while =~ consecutive matching problem
by hostyle (Scribe) on Nov 12, 2004 at 16:32 UTC | |
|
Re: while =~ consecutive matching problem
by TedPride (Priest) on Nov 12, 2004 at 21:08 UTC |