develooper Front page | perl.perl5.porters | Postings from December 2017

Re: [perl #77510] when() as a statement modifier outside atopicalizer both works and fails

From:
Zefram
Date:
December 11, 2017 03:50
Subject:
Re: [perl #77510] when() as a statement modifier outside atopicalizer both works and fails
Message ID:
20171211035013.GL25404@fysh.org
It's a deliberate design choice that topicalisers are dynamically scoped.
We no longer have the lexical $_ confusing things, so the topic itself
is now always dynamically scoped too.  There is no bug here.  (This is
also unaffected by the present proposed revision of smartmatch et al.)
This ticket should be closed.

-zefram



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