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

Re: Twigils

Thread Previous | Thread Next
From:
Dan Book
Date:
August 12, 2021 15:47
Subject:
Re: Twigils
Message ID:
CABMkAVUspkzF1MCXqyEqazix7H04VTz4hwUX-XaGmdsAPF6Rqw@mail.gmail.com
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. In short,
>
>        my $myflag;
>
> and
>
>       $self->{myflag};
>
> already don't collide.
>
>
> NOT A PROBLEM, CLOSE TICKET.
>

This is not relevant to Corinna.

-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