# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #71112]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71112 >


<masak> rakudo: sub foo { @_[0] = "bah" }; my $a = "!"; foo($a); say $a
<p6eval> rakudo 7ef386: !␤
<TimToady> i'd've expected it to blow up
* masak submits rakudobug
<masak> TimToady: so in the default signature, @_ isn't writeable?
<TimToady> no, it's different from P5 in that
<masak> ok.
<TimToady> but most P5 programs aren't modifying their parameters
<TimToady> and we didn't want to pay the might-be-lvalue penalty anymore
<TimToady> that was decided in about 2003 or so
<masak> nod.

Reply via email to