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:31
Subject:
Re: PSC #034 2021-08-20 - "Namespaces Special"
Message ID:
CABMkAVUCDGMO5Jy+0BAF7u0bjfS7JGa4tzQ1SZjJOHf9+_M_gA@mail.gmail.com
On Mon, Aug 30, 2021 at 12:30 AM Dan Book <grinnz@gmail.com> wrote:

> 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.
>

And furthermore, builtins are not in main either, they are in CORE.

-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