develooper Front page | perl.perl5.porters | Postings from March 2023

Re: refaliasing disrespects readonlyness of array or hash

Thread Previous | Thread Next
From:
demerphq
Date:
March 23, 2023 14:06
Subject:
Re: refaliasing disrespects readonlyness of array or hash
Message ID:
CANgJU+VZjk_8ijg2xuw=fKWyBAHwL_dyZunTtngvwBcMHm051g@mail.gmail.com
On Thu, 23 Mar 2023 at 14:51, Paul "LeoNerd" Evans
<leonerd@leonerd.org.uk> wrote:
>
> On Thu, 23 Mar 2023 12:20:52 +0000
> Dave Mitchell <davem@iabyn.com> wrote:
>
> > Note that this is a general issue with aliasing, e.g. via 'local', not
> > just with the \ refaliasing mechanism:
>
> Yes I was about to compare it with `local`. A refaliasing is really the
> same as a local only without the scope-guarded undo part.

Let me know if you poke into this. I will take a look when i get a chance.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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