develooper Front page | perl.perl6.users | Postings from June 2018

Re: a `pe4rl6 -c` error to fix

Thread Previous | Thread Next
From:
Larry Wall
Date:
June 21, 2018 15:42
Subject:
Re: a `pe4rl6 -c` error to fix
Message ID:
20180621154220.GA28545@wall.org
On Wed, Jun 20, 2018 at 10:58:01PM -0700, Brent Laabs wrote:
: -c does compile time warnings, not runtime warnings.  You can't make
: runtime warnings appear at compile time without using a BEGIN block.

That's perhaps a bit oversimplified, since in this case the warning is
coming out of the optimizer, which is post parser, but pre-runtime.  We
could conceivably stop the -c after the optimizer is run.

Larry

Thread Previous | Thread Next


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