Carp and Croak

2015-03-15 Thread Tom Browder
How can I replace Carp and Croak in Perl 6? Thanks. Best, -Tom

[perl #124074] Closing a Channel on which a worker is receiving may or may not trigger a X::Channel::ReceiveOnDone exception

2015-03-15 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #124074] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124074 > The attached program blocks indefinitely 42/100 times, throws an odd typechecking exception

[perl #124073] Using wrong number of arguments in a start { ... } block in a map block doesn't always raise the correct exception

2015-03-15 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #124073] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124073 > The example program (attached) invokes &worker with an incorrect number of parameters, but

Re: Placeholder Variable

2015-03-15 Thread Timo Paulssen
On 03/15/2015 09:41 PM, Tom Browder wrote: > On Sun, Mar 15, 2015 at 2:55 PM, Timo Paulssen wrote: > ... > > Thanks, Timo! Subroutine arg handling is an awkward but very exciting > improvement for an old but non-expert Perl 5 user. > > Very briefly, how does one properly translate this to Perl 6:

Re: Placeholder Variable (was: Perl 6 Debugging)

2015-03-15 Thread Tom Browder
On Sun, Mar 15, 2015 at 2:55 PM, Timo Paulssen wrote: ... Thanks, Timo! Subroutine arg handling is an awkward but very exciting improvement for an old but non-expert Perl 5 user. Very briefly, how does one properly translate this to Perl 6: sub foo {my @a = @_; } Best, -Tom

[perl #124071] When using a single channel among multiple workers, only one channel will ever observe a channel's close

2015-03-15 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #124071] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124071 > If you use a channel to distribute work among several worker tasks (as in the attached exam

Re: Placeholder Variable (was: Perl 6 Debugging)

2015-03-15 Thread Timo Paulssen
On 03/15/2015 08:48 PM, Tom Browder wrote: > The initial part of the code for the offending method definition is: > > method set_custom_ellipsoid > { > my ($name, $major, $recip) = @_; > $name = uc $name; > $recip = 0 unless defined $recip; > if ($major) { > %ellipsoids{$name} = [ $major, $recip

Re: Perl 6 Debugging

2015-03-15 Thread Tom Browder
On Sat, Mar 14, 2015 at 5:19 PM, Tom Browder wrote: > I am trying to convert a fairly simple Perl 5 program and supporting > modules to Perl 6 and making slow progress. I have made much progress since Moritz showed me how to use perl6-m. Now I have come to a point where I haven't yet found what

Re: Perl 6 Debugging

2015-03-15 Thread Tom Browder
On Mar 15, 2015 1:26 AM, "Moritz Lenz" wrote: > When I run your code with perl6-m (Rakudo with the MoarVM backend), I get > > ===SORRY!=== Error while compiling /home/moritz/Ellipsoid.pm6 > Variable '$class' is not declared > at /home/moritz/Ellipsoid.pm6:154 > --> my( $classā¸¸, %args ) = @_;

[perl #123956] [BUG] [LHF] multi-name parameter parsing too strict

2015-03-15 Thread Christian Bartolomaeus via RT
This was fixed with commit https://github.com/rakudo/rakudo/commit/7a9a4cadeb. I added a test to S06-signature/named-renaming.t with commit https://github.com/perl6/roast/commit/459be82454. I'm closing this ticket as 'resolved'.