develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: A built-in ability for lexical import/export

Thread Previous | Thread Next
From:
"G.W. Haywood" via perl5-porters
Date:
June 27, 2022 14:56
Subject:
Re: Pre-RFC: A built-in ability for lexical import/export
Message ID:
a71c7648-e84f-9835-13a3-c81a5969dc9@jubileegroup.co.uk
Hi there,

On Mon, 27 Jun 2022, Dagfinn Ilmari Mannsåker wrote:
> "Paul \"LeoNerd\" Evans" writes:
>> On Fri, 24 Jun 2022 16:44:27 +0100 "Paul \"LeoNerd\" Evans" wrote:
>>
>> ...
>> ...
>>   * Should it support things other than functions? Should we support
>>
>>       lexically_export VAR => \my $scalar;
>
> Yes.

Agreed.

>>   * If so, should names be sigil-prefixed?
>>
>>       lexically_export '$VAR' => \my $scalar, '&func' => sub {...};
>
> Yes ...

Agreed.

-- 

73,
Ged.
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