[perl #131857] Aliased named parameters broke in a recent MoarVM commit

2017-08-07 Thread via RT
# New Ticket Created by Daniel Green # Please include the string: [perl #131857] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131857 > [22:44] m: sub foo(:color(:$colour)) { $colour + 1 }; my $s; for ^100 { $s +=

[perl #131856] [@LARRY] Junctions don't junct when routine has a slurpy, leading to inconsistent behaviour with core routines

2017-08-07 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131856] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131856 > Originally taken from:

Re: Suggestions on Learning Perl 6

2017-08-07 Thread Tom Browder
On Mon, Aug 7, 2017 at 13:39 Ari King wrote: > Hi, > ... > The perl6.org site provides resources that have helped me begin to learn > Perl 6 syntax fairly easily/quickly. But unfortunately, material on the > aforementioned topics is limited. I'd appreciate

Re: Suggestions on Learning Perl 6

2017-08-07 Thread Bruce Gray
> On Aug 7, 2017, at 12:39 PM, Ari King wrote: —snip-- > I'm particularly interested in learning about Perl 6 package and module > development (i.e. code organization), ecosystem (i.e. best practice tooling > and modules), and concurrency features. —snip—

[perl #131855] Mix.roll doesn't work with fractional weights

2017-08-07 Thread via RT
# New Ticket Created by Brad Gilbert # Please include the string: [perl #131855] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131855 > > Mix( 'a' => 0.3 ).roll Type check failed in binding; expected Int but got

books for learning Perl 6

2017-08-07 Thread Darren Duncan
As was announced a few days ago, see https://perl6book.com which is a good site for outlining what books on learning Perl 6 exist and suggestions on where different kinds of users should start based on their needs. -- Darren Duncan

Re: [perl #131855] Mix.roll doesn't work with fractional weights

2017-08-07 Thread Elizabeth Mattijsen via RT
Oops. Caught by a copy-pasto. Fixed with a91ad2da854831a7a38c1d , tests needed. > On 7 Aug 2017, at 20:59, Brad Gilbert (via RT) > wrote: > > # New Ticket Created by Brad Gilbert > # Please include the string: [perl #131855] > # in the subject line of all

Re: [perl #131855] Mix.roll doesn't work with fractional weights

2017-08-07 Thread Elizabeth Mattijsen
Oops. Caught by a copy-pasto. Fixed with a91ad2da854831a7a38c1d , tests needed. > On 7 Aug 2017, at 20:59, Brad Gilbert (via RT) > wrote: > > # New Ticket Created by Brad Gilbert > # Please include the string: [perl #131855] > # in the subject line of all

[perl #131831] Possible precomp issue: crash with `is a directory, cannot do '.open' on a directory` pointing to a sha1 hash of a dir

2017-08-07 Thread Jonathon via RT
The missing 'version' file looks to be the issue, and explains why zef worked when installing under under 'site' but not 'vendor': during my testing I think I managed to delete the version file from vendor... Oops. That means I've created a load of noise (but hopefully someone might benefit

Re: another one liner

2017-08-07 Thread Bruce Gray
> On Aug 4, 2017, at 9:12 PM, ToddAndMargo wrote: > > Hi All, > > How would you convert this one liner over to a Perl 6 one > liner with a pipe? > > ifconfig | grep flags | awk '{print $1}' | sort | sed -n 2,2p | sed -e 's/://‘ —snip— First attempt; straight

need lib notify sub

2017-08-07 Thread ToddAndMargo
Hi All, If you upgraded from Fedora 25 to 26, you will notice that notify send (libnotify) stopped working. (It works in fresh installs of Fedora 26.) https://bugzilla.gnome.org/show_bug.cgi?id=785583 Since I need to learn the stuff anyway, would someone point me to an GTK::Simple example

Re: need lib notify sub

2017-08-07 Thread ToddAndMargo
On Mon, Aug 7, 2017 at 8:01 AM, ToddAndMargo > wrote: Hi All, If you upgraded from Fedora 25 to 26, you will notice that notify send (libnotify) stopped working. (It works in fresh installs of Fedora 26.)

Re: need lib notify sub

2017-08-07 Thread Fernando Santagata
Hello Todd, You can access libnotify directly from Rakudo using this: https://modules.perl6.org/search?q=desktop%3A%3Anotify HTH On Mon, Aug 7, 2017 at 8:01 AM, ToddAndMargo wrote: > Hi All, > > If you upgraded from Fedora 25 to 26, you will notice that > notify send

[perl #131676] doing a role fails to find inherited methods in some cases

2017-08-07 Thread Zoffix Znet via RT
On Thu, 29 Jun 2017 03:46:02 -0700, c...@zoffix.com wrote: > Mu provides iterator method, but when you mix in a role that wants it > implemented, it doesn't find it: > > m: role Meow { method iterator {…} }; class Bar does Meow {} > camelia rakudo-moar 2a8d1e: OUTPUT: «5===SORRY!5=== Error

[perl #131676] doing a role fails to find inherited methods in some cases

2017-08-07 Thread Zoffix Znet via RT
On Thu, 29 Jun 2017 03:46:02 -0700, c...@zoffix.com wrote: > Mu provides iterator method, but when you mix in a role that wants it > implemented, it doesn't find it: > > m: role Meow { method iterator {…} }; class Bar does Meow {} > camelia rakudo-moar 2a8d1e: OUTPUT: «5===SORRY!5=== Error

[perl #131841] [BUG] In a 'unit module', a 'die' along any CATCH block causes a compiler error

2017-08-07 Thread via RT
# New Ticket Created by Darek Cidlinsky # Please include the string: [perl #131841] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131841 > A minimal example: echo 'unit module Foo; die; CATCH { }' > Foo.pm6; perl6

Re: [perl #131841] AutoReply: [BUG] In a 'unit module', a 'die' along any CATCH block causes a compiler error

2017-08-07 Thread Darek Cidlinský
It should be added that this bugreport pertains to the version 2017.07: This is Rakudo version 2017.07 built on MoarVM version 2017.07 implementing Perl 6.c. D.

Re: [perl #131841] AutoReply: [BUG] In a 'unit module', a 'die' along any CATCH block causes a compiler error

2017-08-07 Thread Darek Cidlinsky via RT
It should be added that this bugreport pertains to the version 2017.07: This is Rakudo version 2017.07 built on MoarVM version 2017.07 implementing Perl 6.c. D.

[perl #131853] [LTA] Error when missing `~~` in where clause: This type (QAST::WVal) does not support positional operations

2017-08-07 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131853] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131853 > 17:55 Zoffix m: subset Fun of Callable where .signature :(Int --> Int); say sub {} ~~

Suggestions on Learning Perl 6

2017-08-07 Thread Ari King
Hi, My background is primarily in JVM languages and python; I've recently started learning Perl 6. To date, I've mostly used Perl 5 for one-liners or an odd-script. Consequently, I'm particularly interested in learning about Perl 6 package and module development (i.e. code organization),

Re: [perl #131841] AutoReply: [BUG] In a 'unit module', a 'die' along any CATCH block causes a compiler error

2017-08-07 Thread Timo Paulssen
Annoyingly, 2017.07 has a bug that makes every --ll-exception print that exact error. Here's what a newer version of rakudo gives you: > Cannot invoke this object (REPR: Null; VMNull) >at SETTING::src/core/Exception.pm:57 >

Re: [perl #131841] AutoReply: [BUG] In a 'unit module', a 'die' along any CATCH block causes a compiler error

2017-08-07 Thread Timo Paulssen via RT
Annoyingly, 2017.07 has a bug that makes every --ll-exception print that exact error. Here's what a newer version of rakudo gives you: > Cannot invoke this object (REPR: Null; VMNull) >at SETTING::src/core/Exception.pm:57 >