develooper Front page | perl.perl5.porters | Postings from April 2008

Re: bug or not? constants warn only once

Thread Previous | Thread Next
From:
David Nicol
Date:
April 25, 2008 11:07
Subject:
Re: bug or not? constants warn only once
Message ID:
934f64a20804251107u6ad4d9a7w46f5592e629f6423@mail.gmail.com
On Fri, Apr 25, 2008 at 5:17 AM, Nicholas Clark <nick@ccl4.org> wrote:

>  didn't do what I expected, because that constant string "constant" in the
>  optree isn't constant. Well, it can't be written to, but it gets conversions
>  cached on it.

If conversions of constants were done early instead
of cached, there wouldn't even be the opportunity to warn.

Do we have consensus on this issue?

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