develooper Front page | perl.perl5.porters | Postings from June 2013

Re: [perl #118455] "no warnings 'exec'" does not disable "Statementunlikely to be reached"

Thread Previous
From:
Ricardo Signes
Date:
June 13, 2013 13:13
Subject:
Re: [perl #118455] "no warnings 'exec'" does not disable "Statementunlikely to be reached"
Message ID:
20130613131318.GB20320@cancer.codesimply.com
* Father Chrysostomos via RT <perlbug-followup@perl.org> [2013-06-12T21:08:04]
> So ‘use warnings "syntax"’ enables that warning.  ‘use warnings FATAL =>
> 'exec'’ fatalizes it; but, of course, it is only fatal if it happens,
> which is when ‘syntax’ warnings are enabled.  Fascinating. :-)

Yeah, once the ckWARN was pointed out, this behavior became clear, and I stared
slack-jawed at my oneliners for a while.

I will merge this fix tonight or tomorrow.

-- 
rjbs

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About