Re: Unescaped Left Brace

2017-11-23 Thread Mike Flannigan
Thanks for pointing that out. I'll be darned.  I need to check some of my scripts for this error. I'm not sure what I was trying to do with that. Probably eliminate very small files. $text is a read from a PDF file: This is what I wrote a long time ago: eval {           ($text = $pdf->getPag

Re: Unescaped Left Brace

2017-11-23 Thread X Dungeness
Hm, that's a misbegotten quantifier. >From 5.26.0 perlreref: There is no quantifier "{,n}". That's interpreted as a literal string. On Thu, Nov 23, 2017 at 3:04 AM, Mike Flannigan wrote: > > I recently installed the latest version of > Strawberry Perl. My scripts were developed > in ActiveSta

Unescaped Left Brace

2017-11-23 Thread Mike Flannigan
I recently installed the latest version of Strawberry Perl.  My scripts were developed in ActiveState Perl. I have a line: unless ($text =~ /[a-zA-Z]{,10}/s) { When I run the script that line is in I get: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed