# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #124190]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=124190 >
m: my $promise = Promise.new; say $promise.status;
Promise::Vow.new(:$promise).keep(42);
This feels like the same conversation we had earlier this week about
accessing private methods. :) But maybe there are still a few new
points that can be made.
Tom (>>), Moritz (>):
>> I need to test some private routines, so is there a way to do that?
>
> The easiest way to do that is when the cl
On Fri, Mar 27, 2015 at 6:36 AM, Carl Mäsak wrote:
> This feels like the same conversation we had earlier this week about
> accessing private methods. :) But maybe there are still a few new
> points that can be made.
...
Okay, Carl, I think I understand. But what about this for my
particular sit
On Fri, Mar 27, 2015 at 8:35 AM, Tom Browder wrote:
> Use a separate module (but included with the code for the whole
> package) for the non-class-specific, formerly-private methods to be
> "public", because some of the private
> methods are really general math subroutines. That way I can te
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #124191]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=124191 >
<[Tux]> Something recent broke Text::CSV :(
[Tux]: How does it fail?
* [Tux] is investig
Fixed in fb991b and spectested in 4f7877.
Resolving ticket.
# New Ticket Created by Elizabeth Mattijsen
# Please include the string: [perl #124196]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=124196 >
The following step can take a long time, please be patient.
/Users/liz/Github/raku
# New Ticket Created by
# Please include the string: [perl #124197]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=124197 >
OS: Ubuntu 14.04 LTS on VirtualBox
Host: Windows 8, dual Core i5
Rakudo version: current as of 3/25/
I'm trying to get the basic syntax down on creating and using a
module. I've tried this and get an error:
# file 1: Bar.pm
module Bar;
sub foo($a, $b, $c) is export {}
# file 2: doit.pl
v6;
use lib <.>;
use Bar ;
my @t = foo(1, 2, 3);
# in a shell
$ perl6 doit.pl
===SORRY!===
Error while impor
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: c1d2dea29784ac35d1b2c84030c33341bbd2b2e4
https://github.com/perl6/specs/commit/c1d2dea29784ac35d1b2c84030c33341bbd2b2e4
Author: Paul Cochrane
Date: 2015-03-27 (Fri, 27 Mar 2015)
Changed paths:
M S04-
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 695cab795b0a2ae80bfeae189abbe8ae9a1044be
https://github.com/perl6/specs/commit/695cab795b0a2ae80bfeae189abbe8ae9a1044be
Author: Paul Cochrane
Date: 2015-03-27 (Fri, 27 Mar 2015)
Changed paths:
M S04-
Hi Tom,
If you put the attribute is export on a sub, then it is part of the
:DEFAULT and :ALL tagsets. That means you can import them by:
use Bar :DEFAULT;
http://design.perl6.org/S11.html#Dynamic_exportation states:
The default EXPORTALL handles symbol exports by removing recognized export
ite
12 matches
Mail list logo