On Mon Oct 10 16:25:45 2011, coke wrote:
> On Thu Sep 02 20:55:52 2010, masak wrote:
> > rakudo: my @a = 1, 2, 3; @a X*= 5; say @a.perl; @a = @a X* 5;
> > say @a.perl;
> > rakudo 33e94e: OUTPUT«[1, 2, 3][5, 10, 15]»
> > Should X*= have worked? If not, how to best scale a vector
> > without rep
On Thu Sep 02 20:55:52 2010, masak wrote:
> rakudo: my @a = 1, 2, 3; @a X*= 5; say @a.perl; @a = @a X* 5;
> say @a.perl;
> rakudo 33e94e: OUTPUT«[1, 2, 3][5, 10, 15]»
> Should X*= have worked? If not, how to best scale a vector
> without repeating the vector's array name?
> @b = @a X* 5
> :P
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #77660]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=77660 >
rakudo: my @a = 1, 2, 3; @a X*= 5; say @a.perl; @a = @a X* 5;
say @a.perl;
rakudo 33e9