Re: [OT] Perl pattern matching

2002-12-06 Thread Jörg Johannes
Colin Watson schrieb: On Fri, Dec 06, 2002 at 04:53:28PM +0100, J?rg Johannes wrote: Here it comes: In "Programming Perl (german translation) there is an example for how to skip lines that start with the hash sign: LINE: while ($line = ) { next LINE if /^#/; # Should skip lines that st

Re: [OT] Perl pattern matching

2002-12-06 Thread Michael Naumann
On Friday 06 December 2002 16:53, Jörg Johannes wrote: > Hi List > > Sorry for coming in here with such a question, but this list ahs perl > gurus, and response is much faster than comp.lang.perl.misc (and I need > the answer fast...) > > Here it comes: > In "Programming Perl (german translatio

Re: [OT] Perl pattern matching

2002-12-06 Thread Colin Watson
On Fri, Dec 06, 2002 at 04:53:28PM +0100, J?rg Johannes wrote: > Here it comes: > In "Programming Perl (german translation) there is an example for how to > skip lines that start with the hash sign: > > LINE: while ($line = ) { > next LINE if /^#/; # Should skip lines that start with the h

[OT] Perl pattern matching

2002-12-06 Thread Jörg Johannes
Hi List Sorry for coming in here with such a question, but this list ahs perl gurus, and response is much faster than comp.lang.perl.misc (and I need the answer fast...) Here it comes: In "Programming Perl (german translation) there is an example for how to skip lines that start with the hash