[Perl] regex skip
Shimon Halevi
hlovys at barak-online.net
Sat May 10 11:21:00 PDT 2003
Hi there,
Thanks for your regard, here is what it says:
Trailing \ in regex m/X/ENOPHON\/ at editing.pl line 46, <OF> line 57036.
Thanks again,
Shimon
----- 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
>
> Gabor
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/mailman/listinfo/perl
>
> YAPC::Israel::2003
> http://www.perl.org.il/YAPC/2003/
More information about the Perl
mailing list