develooper Front page | perl.perl5.porters | Postings from May 2014

Re: [perl #24250] "return" required in some anonymous closures

From:
=?UTF-8?Q?Zsb=C3=A1n_Ambrus?=
Date:
May 10, 2014 20:03
Subject:
Re: [perl #24250] "return" required in some anonymous closures
Message ID:
CAHku1CErnfdkTb0Mr9oVaiXY=Yh6MUvJ-E-kSGEKHRt0Cu99ag@mail.gmail.com
On Fri, Apr 20, 2012 at 1:51 PM, Nicholas Clark <nick@ccl4.org> wrote:
> What does this generator give us, that putting references-to-constants in
> the symbol table doesn't already give us?

It allows the constant pragma to define an inlined constant subroutine
even if the glob already exists because someone has defined an array
of the same name.

Ambrus



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