Re: [perl #75762] Perl failed and print panic message to STDERR

[email protected] (Abigail)
Newsgroups perl.perl5.porters
Message-ID <20100616163743.GG3367@almanda>
On Tue, Jun 15, 2010 at 03:09:04AM -0700, Alex Varyanick wrote:
> # New Ticket Created by  Alex Varyanick 
> # Please include the string:  [perl #75762]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75762 >
> 
> 
> This is a bug report for perl from [email protected],
> generated with the help of perlbug 1.39 running under perl 5.10.1.
> 
> 
> -----------------------------------------------------------------
> This code:
> perl -e'/(?:(o){2})?/'
> Prints "Panic opt close in regex m/(?:(o){2})?/" to STDERR

Still present in 5.12.1 and blead.

> 
> This code:
> perl -e'grep$$(%!)'
> Prints: "panic: ck_grep" to STDERR


The latter seems to be fixed in 5.12.1:

   $ perl -e'grep$$(%!)'
   Missing comma after first argument to grep function at -e line 1, at EOF
   Execution of -e aborted due to compilation errors.
   $


Abigail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.