[Perl] regex skip
hlovys at barak-online.net
Sat May 10 11:21:00 PDT 2003
Thanks for your regard, here is what it says:
Trailing \ in regex m/X/ENOPHON\/ at editing.pl line 46, <OF> line 57036.
----- Original Message -----
From: "Gabor Szabo" <gabor at perl.org.il>
To: <perl at perl.org.il>
Sent: Friday, May 09, 2003 8:57 PM
Subject: Re: [Perl] regex skip
> Shimon Halevi wrote:
> > Hi guys,
> > What is I run a perl prog and it opens a file and process it line by
> > line into a new file But, in line 5436 it stops coz of a regex
> > compilation ERR.
> > Can I code it so it will skip the line and move on to the next line?
> sure you can but it depends on what are you actually doing.
> Maybe you should find out why is that problem ?
> Can you show us the code and line 5436 of the file ?
> In the meantime you can try to look at
> $. (dollar dot) contains the line number of the current input file.
> in perldoc perlvar
> Perl mailing list
> Perl at perl.org.il
More information about the Perl