problem pushing pairs onto an array of pairs

2015-06-13 Thread mt1957
l.s. Can't push/unshift onto an array of pairs! Below a repl session with pushes my @p = a => 1, b => 2; a => 1 b => 2 @p.push(x=>1); a => 1 b => 2 my Pair @p = a => 1, b => 2; a => 1 b => 2 @p.push(x=>1); a => 1 b => 2 my Array $p = [ a => 1, b => 2]; a => 1 b => 2 $p.push(x=>1);

[perl #125398] with no strict temp does not autcreate hashes and hash elements

2015-06-13 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #125398] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125398 > >From irc http://irclog.perlgeek.de/perl6/2015-06-13#i_10744864 12:16 mr_ron m: no st

Re: problem pushing pairs onto an array of pairs

2015-06-13 Thread The Sidhekin
On Sat, Jun 13, 2015 at 12:25 PM, mt1957 wrote: > Can't push/unshift onto an array of pairs! > > Below a repl session with pushes > > my @p = a => 1, b => 2; >> > a => 1 b => 2 > >> @p.push(x=>1); >> > a => 1 b => 2 > That's not pushing a pair – that's pushing nothing (no positionals) with a

[perl #125400] Fwd: problem pushing pairs onto an array of pairs

2015-06-13 Thread via RT
# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #125400] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125400 > I’m sending this in as a rakudo bug because I think it is. We have confusion abou

[perl #125401] Using take on a listy expression doesn't take each element of that list

2015-06-13 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #125401] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125401 > See the attached test file; for example: my @result = gather { take 'foo=bar'.split('='

Re: [perl #125400] Fwd: problem pushing pairs onto an array of pairs

2015-06-13 Thread Parrot Raiser
Liz is right. If a construct causes a significant number of people to make a mistake, it's a design flaw that needs to be fixed. On 6/13/15, Elizabeth Mattijsen wrote: > # New Ticket Created by Elizabeth Mattijsen > # Please include the string: [perl #125400] > # in the subject line of all futu

Re: problem pushing pairs onto an array of pairs

2015-06-13 Thread mt1957
Hi Eirik, I thought about this a bit longer. I've seen this before that typo's in the named arguments can lead to things for which you think would happen but they don't. proper testing should reveal this of course. But it would also be nice that an error would be given by perl6 and we would h

[perl #125402] Assigning an Int to a substr-rw doesn't work

2015-06-13 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #125402] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125402 > The following fails with "This type cannot unbox to a native string": my $s = 'foobar';

[perl #125403] Installing some modules via panda (ex. Linenoise) results in a "Cannot invoke null object" error

2015-06-13 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #125403] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125403 > See $subject. Reproducible by installing a fresh Rakudo on MoarVM, installing panda, and p