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

Re: refaliasing disrespects readonlyness of array or hash

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
March 23, 2023 13:51
Subject:
Re: refaliasing disrespects readonlyness of array or hash
Message ID:
20230323135122.3039fe48@shy.leonerd.org.uk
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.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

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