develooper Front page | perl.perl5.porters | Postings from May 2016

[perl #127531] permit \escape on right hand side of my

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
May 18, 2016 04:52
Subject:
[perl #127531] permit \escape on right hand side of my
Message ID:
rt-4.0.18-30557-1463547138-1348.127531-15-0@perl.org
On Sat Feb 13 18:58:46 2016, rjbs wrote:
> On Sat Feb 13 09:48:36 2016, sprout wrote:
> > That begs the question of what
> >
> > $x = my \@y;
> >
> > would do.  I imagine it would be the same as
> >
> > $x = \my @y;
> 
> That's my thinking as well.

Would rvalue use of ‘my \’ be governed by the experimental::refaliasing feature feature?  Would they produce an experimental warning?

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=127531

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