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

Re: Twigils

Thread Previous | Thread Next
From:
David Nicol
Date:
August 12, 2021 15:38
Subject:
Re: Twigils
Message ID:
CAFwScO_bjjQPJ776F=0v=nEpfUf_-NO_2o1+4nzENkTp1kqvWQ@mail.gmail.com
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.

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