[perl #125353] [BUG] %(:a:b) ignores all elements after the first one

2015-06-07 Thread via RT
# New Ticket Created by   
# Please include the string:  [perl #125353]
# in the subject line of all future correspondence about this issue. 
# URL: https://rt.perl.org/Ticket/Display.html?id=125353 


19:52:25raydiak | m: say (:a(1):b(2)).hash; say %(:a(1):b(2)); say 
%(:a(1),:b(2))
19:52:26   +camelia | rakudo-moar 442a56: OUTPUT«a = 1, b = 2␤a = 1␤a = 1, 
b = 2␤»


[perl #125352] [BUG] Empty object hash listifies to Nil

2015-06-07 Thread via RT
# New Ticket Created by   
# Please include the string:  [perl #125352]
# in the subject line of all future correspondence about this issue. 
# URL: https://rt.perl.org/Ticket/Display.html?id=125352 


19:43:05raydiak | m: say (my %h).list.perl
19:43:05   +camelia | rakudo-moar 442a56: OUTPUT«()␤»
19:43:14raydiak | m: say (my %h{Any}).list.perl
19:43:15   +camelia | rakudo-moar 442a56: OUTPUT«Nil␤»
19:44:00  masak | raydiak: I don't see why that latter one should be Nil 
when the former isn't.
19:44:10  jnthn | Me either
19:44:34raydiak | nor me
19:44:38  masak | even moreso since ISTR Nil was decoupled from meaning 
undefined empty list recently.
19:45:06  masak | raydiak: please rakudobug-submit, kthx.


[perl #125348] [cpp] Binding to Xapian::WritableDatabase::new causes corrupted double-linked list

2015-06-07 Thread via RT
# New Ticket Created by  Rob Hoelz 
# Please include the string:  [perl #125348]
# in the subject line of all future correspondence about this issue. 
# URL: https://rt.perl.org/Ticket/Display.html?id=125348 


See attached file.

When using the cpp branch of Rakudo, trying to bind 
Xapian::WritableDatabase::new and call from libxapian results in the following 
error:

*** Error in `/tmp/moar/bin/moar': malloc(): memory corruption: 
0x03c51900 ***

test-xapian.p6
Description: Binary data


Re: help installing Inline::Perl5

2015-06-07 Thread Brandon Allbery
On Sun, Jun 7, 2015 at 7:43 PM, RB reneb.ma...@gmail.com wrote:

 This is perl6 version 2015.03 built on MoarVM version 2015.03


Recent Panda requires a recent Rakudo; the unit change happened in the
last 2 weeks.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net


[perl6/specs] 0da73b: Add StubCode to exceptions

2015-06-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 0da73b885f08b6d06adbeacef32ec21f1cca0da0
  
https://github.com/perl6/specs/commit/0da73b885f08b6d06adbeacef32ec21f1cca0da0
  Author: Rob Hoelz r...@hoelz.ro
  Date:   2015-06-07 (Sun, 07 Jun 2015)

  Changed paths:
M S32-setting-library/Exception.pod

  Log Message:
  ---
  Add StubCode to exceptions




help installing Inline::Perl5

2015-06-07 Thread RB
Newbie programmer...
Looking for a little help installing Inline::Perl5 on a Windows 7
machine..

Perl6 -v
This is perl6 version 2015.03 built on MoarVM version 2015.03

I'm getting the following error::

 I tired installing using the command  panda install Inline::Perl5  and
panda  install c:\inline-perl5-master

Get the same error below

C:\rakudo\binpanda  install c:\inline-perl5-master
== Installing Inline::Perl5 from a local directory 'c:\inline-perl5-master'
== Inline::Perl5 depends on LibraryMake
== Fetching LibraryMake
== Building LibraryMake
Compiling lib\LibraryMake.pm6 to mbc
===SORRY!=== Error while compiling lib\LibraryMake.pm6
Undeclared routine:
unit used at line 2. Did you mean 'uniq'?
build stage failed for LibraryMake: Failed building lib\LibraryMake.pm6
  in method install at C:\rakudo/languages/perl6/lib/Panda.pm:120
  in block  at C:\rakudo/languages/perl6/lib/Panda.pm:1
  in method resolve at C:\rakudo/languages/perl6/lib/Panda.pm:185
  in sub MAIN at C:\rakudo\bin\panda:20
  in sub MAIN at C:\rakudo\bin\panda:18
  in block unit at C:\rakudo\bin\panda:77


Failure Summary

c:\inline-perl5-master
*build stage failed for LibraryMake: Failed building
lib\LibraryMake.pm6


Thank you


Re: [perl #125344] Int..Whatever ranges are slow (~20 times slower than Int..Int)

2015-06-07 Thread Elizabeth Mattijsen

 On 06 Jun 2015, at 21:24, Rob Hoelz (via RT) perl6-bugs-follo...@perl.org 
 wrote:
 
 # New Ticket Created by  Rob Hoelz 
 # Please include the string:  [perl #125344]
 # in the subject line of all future correspondence about this issue. 
 # URL: https://rt.perl.org/Ticket/Display.html?id=125344 
 
 
 Let's say I have an array where @array.end == $end.  Using @array[0..$end] is 
 about 20 times faster than @array[0..*].  I have attached an example script 
 that demonstrates this.bench.p6

If it’s the whole array that you want, have you considered using the zen slice? 
 That is still a lot faster than [0..$end].

Looking at why the * case is so slow.



Liz