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 30, 2021 04:30
Subject:
Re: PSC #034 2021-08-20 - "Namespaces Special"
Message ID:
CABMkAVWvt3Y3iSTtw0e+=i7TapRXjeU9qDS6HmMm-6+Ji8-+-Q@mail.gmail.com
On Sun, Aug 29, 2021 at 11:46 PM Yuki Kimoto <kimoto.yuki@gmail.com> wrote:

>
> 2021-8-27 21:08 Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> wrote:
>
>>
>>         #!perl
>>         use v5.40;
>>         say "The reftype of arrays is ", reftype [];
>>
>>
>>
> There is one point I would like PSC to add to the discussion.
>
> Are all builtin functions imported to the "main" namespace?
>
> Or, are just only the functions we consider very important imported to the
> "main" namespace?
>
> I would like to add this to the discussion because the "main" namespace is
> also the user's space, so smaller conflicts are better.
>

It won't go into any namespace if it is implemented as a lexical keyword
like you get from feature.pm.

-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