On Thu, 23 Mar 2023 15:06:16 +0100 demerphq <demerphq@gmail.com> wrote: > 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. I wasn't intending to "poke into" this. I was simply going to point out that probably refaliasing and `local` ought to behave the same way. It turns out that they already do, so maybe we don't have to do anything at all. Alternatively, if we decide we should change the way they work, we should make sure to keep them consistent and change both of them at once. Changing the way that `local` works on SvREADONLY containers sounds like a rather big and invasive change to make at this point. Good luck. -- 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