develooper Front page | perl.perl5.porters | Postings from August 2021

Re: PSC #034 2021-08-20 - "Namespaces Special"

Thread Previous | Thread Next
From:
Dan Book
Date:
August 28, 2021 05:47
Subject:
Re: PSC #034 2021-08-20 - "Namespaces Special"
Message ID:
CABMkAVVRTAnoocFE+PWS_NAVHpro337=85NtTaN77zZcpKuysA@mail.gmail.com
On Fri, Aug 27, 2021 at 11:47 PM Darren Duncan <darren@darrenduncan.net>
wrote:

>
> Also, "use vN;" should never import anything; instead one should have to
> explicitly "use builtin 'foo', 'bar', 'baz';" etc to import things,
> although you
> could have named bundles to make that more terse.
>

FWIW, "use VERSION" already can make keywords available lexically via
features, which is not quite importing but is the mechanism proposed here.

-Dan

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