Front page | perl.perl5.porters |
Postings from August 2021
Re: Twigils
Thread Previous
|
Thread Next
From:
David Nicol
Date:
August 12, 2021 18:21
Subject:
Re: Twigils
Message ID:
CAFwScO8kNSjtH64PDkKASBrfRMxrhyQ=tYnwtOU9G+RVsh0rDA@mail.gmail.com
sorry, I just became aware of Corrina today.
https://github.com/Ovid/Cor/wiki/Corinna-Overview
Could Corinna give instance variables their own syntax, differentiating
them from Perl's lexicals and package variables?
$::thing; # package var
$thing; # lexical, if defined, otherwise package
i_thing; # Corinna instance variable (or something... placeholder, not
proposal)
okay read the thing Ovid asked for comments about, I seem to have restated
the question.
On Thu, Aug 12, 2021 at 10:46 AM Dan Book <grinnz@gmail.com> wrote:
> On Thu, Aug 12, 2021 at 11:38 AM David Nicol <davidnicol@gmail.com> wrote:
>
>> On Thu, Aug 12, 2021 at 6:25 AM Ovid via perl5-porters <
>> perl5-porters@perl.org> wrote:
>>
>>> In [Corrina], lexical variables (declared in a method or in a
>>> signature) can hide the instance variables.
>>>
>>
>> This doesn't apply to Perl because instance variables already have their
>> own syntax.
>>
>> This is not relevant to Corinna.
>
--
"Lay off that whiskey, and let that cocaine be!" -- Johnny Cash
Thread Previous
|
Thread Next