steph_bow has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I want to skip lines that begin with PA,PB or PC except PATY, but i do not know how to do this
Here is my command to skip the line.
next if (/^(PA|PB|PC).*/); # but I want to keep PATY
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: lines that I do not wish to be skipped
by olus (Curate) on Mar 11, 2008 at 16:01 UTC | |
|
Re: lines that I do not wish to be skipped
by Fletch (Bishop) on Mar 11, 2008 at 15:51 UTC | |
|
Re: lines that I do not wish to be skipped
by Narveson (Chaplain) on Mar 11, 2008 at 16:12 UTC | |
|
Re: lines that I do not wish to be skipped
by halfcountplus (Hermit) on Mar 11, 2008 at 19:16 UTC | |
|
Re: lines that I do not wish to be skipped
by romandas (Pilgrim) on Mar 11, 2008 at 17:26 UTC | |
by Anonymous Monk on Mar 11, 2008 at 18:21 UTC |