Hi,
Is it true that the '=for' is taken out of the pod language? I get
errors when I use it. It should take the line and the next lines as a
block. I've also seen that it has the same effect now when I don't use it.
Regards,
Marcel
On 03/01/2017 03:50 PM, Will Coleda wrote:
Not true, '=for' is part of POD6. See below.
If you're getting errors, it's helpful to reduce the example to a
reasonably small bit of code that duplicates the same error; either
you'll realize the issue as you remove unrelated bits of code, or
you'll e
On 17-04-17 19:12, Zoffix Znet via RT wrote:
thanks for the link, I will look into it.
The code for which the windows implementation fails but not on linux,
can be found here;
https://github.com/MARTIMM/config-datalang-refine/blob/master/lib/Config/DataLang/Refine.pm6
the requires are at lin
I understand that the symbols must be used in the same block as the
require statement. There is then still a problem, namely the difference
between linux and windows.
In the mean time I will try to get the usage of the functions to the
block where it is required.
Marcel
On 17-04-17 19:12, Z
Hi,
I've encountered a little problem using dies-ok() from the Test module;
The case was that I made an error within the block used as the first
argument to dies-ok. In that particular case the perl6 compiler hurled
an exception and dies-ok accepted it as an ok action which was not ok
because
L.s.,
I found a small problem when writing a piece of grammar. A simplified
part of it is shown here;
...
token tag-body { ~ }
token body-start { '[' }
token body-end { ']' }
token body-text { .*? }
...
I needed to do something on body-end so I wrote a method for it using an
actions c
L.s.
The following piece of code shows that one must be careful using my or
state variables in a class. They have the same behavior as an our
variable if I am right. Are they all kind of global to the class/object?
---
class A {
my $a;
has $.a;
our $p;
state $q;
method set ($b) {
L.s.
The following piece of code shows that one must be careful using my or
state variables in a class. They have the same behavior as an our
variable if I am right. Are they all kind of global to the class/object?
---
class A {
my $a;
has $.a;
our $p;
state $q;
method set ($b) {
Ls,
Following piece of code gets an error when calling $b.get-t0.
---
#!/usr/bin/env perl6
#
use v6;
role A {
has $!t0;
method get-t0 ( ) {
return self!get-t0-helper;
}
method !get-t0-helper ( ) {
my $t0 = $!t0 // 'T0';
}
}
class B does A { }
my $a = A.new;
say "A: ", $a.g
L.s.
Reading though synopsis S17 concurrency I tried the following
$*SCHEDULER.cue: in=>10, { say "10s later" }
which will deliver the string after 10 seconds. However the moar will
work like hell at a 100% cpu time before and afterwards! Removing the
option 'in' didn't show this problem.
A
ls,
Also seems to go wrong for RAKUDOLIB
Example (in tcsh shell);
$ setenv RAKUDOLIB ".:lib:/home/marcel/Software/lib/perl6/lib"
$ setenv PERL6LIB ".:lib:/home/marcel/Software/lib/perl6/lib"
$ perl6 some-program.pl6
some-program.pl6 .. ===SORRY!===
Could not find Semi-xml in any of:
file#.:lib
ls,
Found another problem in the new rakudo (understood that was from 4/8).
Version: 'This is perl6 version 2015.05-139-g2281689 built on MoarVM
version 2015.05-49-g07fbd62'
It seems that perl6 doesn't understand the environment variable PERL6LIB
anymore.
Example (in tcsh shell);
$ setenv
l.s.
Running newest panda code on newest perl6 (This is perl6 version
2015.05-139-g2281689 built on MoarVM version 2015.05-49-g07fbd62).
$ panda list
...
Method for (from Any) seen at:
/home/marcel/Software/Pack
On 06/08/2015 09:24 PM, Tobias Leich wrote:
say $*DISTRO.cur-sep
Hi Tobias,
It returns a comma.
I've used this in the path and processing is now ok. I was stuck with
panda unable to do anything. As a workaround I can continue now.
Hopefully this separator will be set back to ':' again.
G
l.s.
Installing the BSON module gives the following fault when it runs the
tests. It fails in t/700-encodable.t as shown below
$ panda install BSON
...
t/100-double.t . ok
t/101-binary.t . ok
t/102-int.t ok
t/500-native.t . ok
t/600-extended.t ... ok
===SORRY!===
Merging G
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);
l6 and we would
have known that there was a typo or in the case below a wrong argument
to the push method. Something like 'named attribute x not recognized'.
Greets,
Marcel
On Sat, Jun 13, 2015 at 12:25 PM, mt1957 <mailto:mt1...@gmail.com>> wrote:
Can't push/unshi
rameter visually as well:
a => 42 # a Pair
:a(42) # a named parameter
I could also see going as far as making a named parameter an Enum, or a(nother)
subclass of it.
Liz
===
Begin forwarded message:
Date: 13 Jun 2015 04:25:43 GMT-6
From: mt1957
To: perl6 users
Subject
l.s.
I am having a problem installing my BSON package with panda locally. It
fails when it compiles the files to moarvm using perl6 version
2015.05-186-g15c6fbf built on MoarVM version 2015.05-74-gc14339c.
$ panda install .
==> Installing BSON from a local directory '.'
==> Fetching BSON
==>
L.s.
At http://doc.perl6.org/type/Str#method_encode it says that string
encoding returns a Buf.
It returns a utf8 instead see repl session below.
> my Str $s = 'abcdef';
abcdef
> my Buf $b = $s.encode;
Type check failed in assignment to '$b'; expected 'Buf' but got 'utf8'
in block at :1
M
Sorry I've been too fast, It's in the doc. However, why can't I assign
it to a Buf with automatic coercion from utf8 to Buf which is more generic?
Marcel
On 06/18/2015 11:12 AM, mt1957 wrote:
L.s.
At http://doc.perl6.org/type/Str#method_encode it says that string
encoding ret
l.s.
Just to mention...
Spectest 'S17-supply/start.t' fails on my system.
$ uname -a
Linux h03-fedora 3.19.8-100.fc20.x86_64 #1 SMP Tue May 12 17:08:50 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
$ perl6 -v
This is perl6 version 2015.06-22-g70c5bc5 built on MoarVM version
2015.06-16-g46e941c
Hi,
I there a way to prevent some type of mistake I now have made several
times merely because the error messages are not helping me to point to
the problem.
Example;
grammar Turtle::Grammar {
rule TOP { * }
...
rule directive { | }
...
rule base {
'@base'*
Hi,
I can not do the following;
my Buf $b = 'abc'.encode;
Type check failed in assignment to '$b'; expected 'Buf' but got 'utf8'
But I can do this;
my Buf $b = 'abc'.encode ~ Buf.new();
Buf:0x<61 62 63>
Does the concatenation convert utf8 into Buf? Will there be a problem
when it is converted
Problem is found in the following piece of code;
3 grammar Grammar {
4rule TOP { <.sentence>+ }
5rule sentence { ('c1'|'c2') '=' <+ dutch-chars - [aeiou]>+ }
6token dutch-chars { <[a..z]> }
7 }
Grammar.parse('c1 = sdwbh') ~~ Match || say 'Matched dutch characters';
Error message i
Found the following using Array;
> my Array $a;
> say $a.elems;
1
> $a.push(1)
[1]
> say $a.perl
[1]
> say $a.elems
1
> my Array $a .= new;
[]
> say $a.elems;
0
Seems that an uninitialized Array reports one element but pushing values
on the array will define the properly. In this case it is i
I was wondering if the long name of sub/method/submethod also includes
the named arguments to differentiate between multi's. I had problems
using multi on BUILD submethods which only accept named arguments. The
dispather (also with other named methods) always takes the first method
of the mult
Using a heredoc and by accident adding '#' unindented, generated the
following error;
Asked to remove 2 spaces, but the shortest indent is 0 spaces in any
trim_heredoc at gen/moar/m-Perl6-Actions.nqp:78
The here doc used was;
spurt 'Sandbox/m-auth.conf', $config ~ qq:to/EOCNF/;
security:
Hi
Below a set of tests where all object creates are done well except for
the last one using a sub or method returning the created object.
class X {
has Str $.a;
}
my X $x .= new(a => 'abc');
say "\$x = {$x.perl}";
$x .= new(:a('abc'));
say "\$x = {$x.perl}";
$x .= new :a('abc');
say "\$
On 09/28/2015 07:16 PM, mt1957 wrote:
False alarm, had a typing error in the code so, mea culpa poli :-[ .
Hi
Below a set of tests where all object creates are done well except for
the last one using a sub or method returning the created object.
class X {
has Str $.a;
}
my X $x .= new
The trouble I get at the moment is an error generared by the following
piece of code
return MongoDB::Cursor.new(
collection => self,
OP_REPLY=> $OP_REPLY,
criteria=> %@criteria
);
It generates the error;
Default constructor for 'MongoDB:
On 09/28/2015 06:52 PM, Larry Wall (via RT) wrote:
# New Ticket Created by Larry Wall
# Please include the string: [perl #126212]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126212 >
09:24 < TimToady> m: say 1, |(2 xx 65534
Hi,
noticed that grep doesn't accept a Match operation anymore
In repl ...
> grep { /\.pl6/ },
Method 'match' not found for invocant of class 'Any'
Must now do explicitly match on the topic variable
> grep { $_ ~~ /\.pl6/ },
(a.pl6)
Is this change correct?
perl6 version 2015.09-206-g8a195
ri, Oct 2, 2015 at 5:12 PM mt1957 <mailto:mt1...@gmail.com>> wrote:
Hi,
noticed that grep doesn't accept a Match operation anymore
In repl ...
> grep { /\.pl6/ },
Method 'match' not found for invocant of class 'Any'
Must now do
In great need of proper message ...
I have a bad habit of writing defined/undefined(:D or :U) constraint
after the variable instead of after the type before the variable in a
call signature(Don't ask why ;-|).
The error given is
Cannot invoke this object
Perl is not able to parse the object
Hi,
According to synopsis 12 I could defer methods to methods in another object.
The case in which one can map some name into another didn't work out.
*
**
**class A {**
** method say-i (Int $i ) { say "I: $i"; }**
**}**
**
**class B {**
** has A $.n handles { :x };**
**
** submethod BUILD { $
Two samples of code for which the problem is closely related
The first problem;
return MongoDB::Cursor.new(
collection => self,
OP_REPLY=> $OP_REPLY,
criteria=> %@criteria
);
Generates the error; 'Default constructor for 'MongoDB::Cursor'
I get the following error;
perl6 t/070-run-command.t
===SORRY!===
P6M Merging GLOBAL symbols failed: duplicate definition of symbol C-MD5-SIZE
Searching for the symbol gave me exactly one location where it was
defined. So the error should be more explicit in where it was first
found and where
On 12/30/2015 10:43 AM, Elizabeth Mattijsen wrote:
On 30 Dec 2015, at 09:48, mt1957 wrote:
I get the following error;
perl6 t/070-run-command.t
===SORRY!===
P6M Merging GLOBAL symbols failed: duplicate definition of symbol C-MD5-SIZE
Searching for the symbol gave me exactly one location
On 12/31/2015 06:58 AM, Dave Rolsky via RT wrote:
I can confirm that this is still happening as of today's rakudo. It seems like
an important bug to fix, but maybe more importantly, how are we supposed to
handle circular deps? Consider a pair of classes, Tree and Node, which both
need to refer
On 12/31/2015 01:47 PM, Faye (via RT) wrote:
# New Ticket Created by Faye
# Please include the string: [perl #127107]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127107 >
$ cat Foo.pm6
use Grammar::Tracer;
$ perl6 -I. -e 'u
L.s.
I'am a bit confused about the use of ':' in an identifier. I've read a
bit about the ':' twigil but that seems to be used at the front of the
id giving it a special use. Under 'identifiers' on the syntax page I
couldn't find any about it. So I am referring to things like $abc:def
and the
Hi Tobias,
$foo:bar and Foo:bar are variable/package names with an colonpair
appended. The entire thing is then called a longname, at least
internally.
Test:ver(v1) makes it clearer what it does. You $abc:def example boils
down to $abd:def(True) btw.
Thanks for your answer. I now found someth
L.s.
I've seen that the order of input to a Capture is not kept. Is this a bug?
REPL interaction;
> my Capture $c = \(a=>1,10,{w=>2},[2,3],(e=>2),(b=>3,),Buf.new(^3))
\(10, {:w(2)}, [2, 3], :e(2), (:b(3),), Buf.new(0, 1, 2), :a(1))
> for $c.list -> $item { $item.WHAT.say;}
(Int)
(Hash)
(Array)
Thanks for the information I didn't know about this detail.
What about the order of input, when a call is made and a Capture created
the order is preserved
otherwise the arguments would be bound to the wrong values isn't it? But
the example shows otherwise.
On 01/11/2016 06:58 PM, mt1957 wrote:
Thanks for the information I didn't know about this detail.
What about the order of input, when a call is made and a Capture
created the order is preserved
otherwise the arguments would be bound to the wrong values isn't it?
But the exa
L.s.
I have written my documentation in separate pod files. How do I mention
this in the META.info file and
where will panda install the documentation
Greetings
Marcel
On 01/12/2016 02:26 PM, Sylvain Colinet (via RT) wrote:
# New Ticket Created by Sylvain Colinet
# Please include the string: [perl #127247]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127247 >
Using https://gist.github.com/
L.s.
I got the following error
'Tried to read() on a socket from outside its originating thread'
This socket is created while in another thread using Promise and the
object is retrieved using
$promise.result. The weird thing is also that just a few lines before
that the same socket is used fo
is Rakudo version 2015.12-201-g2a8ca94 built on MoarVM
version 2015.12-29-g8079ca5
implementing Perl 6.c.
Can you post the code that causes the issue?
On Wed, Jan 13, 2016 at 4:00 AM, mt1957 wrote:
L.s.
I got the following error
'Tried to read() on a socket from outside its originatin
On 01/21/2016 06:35 PM, mt1957 (via RT) wrote:
# New Ticket Created by mt1957
# Please include the string: [perl #127340]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127340 >
L.s.
Got this error;
Internal error: zer
On 01/22/2016 01:52 PM, Sam S. via RT wrote:
This is the root of the problem:
➜ say ($d + 2).WHAT;
(Duration)
➜ say ($d * 2).WHAT'
(Num)
The behavior of += and *= is just a consequence of that.
Then the question remains why the multiplication results in Num if it
multiplies wi
On 01/21/2016 06:44 PM, mt1957 wrote:
On 01/21/2016 06:35 PM, mt1957 (via RT) wrote:
# New Ticket Created by mt1957
# Please include the string: [perl #127340]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127340 >
On 01/23/2016 06:04 PM, jn...@jnthn.net via RT wrote:
On Sat Jan 23 07:08:17 2016, mt1...@gmail.com wrote:
On 01/21/2016 06:44 PM, mt1957 wrote:
On 01/21/2016 06:35 PM, mt1957 (via RT) wrote:
# New Ticket Created by mt1957
# Please include the string: [perl #127340]
# in the subject line of
Op 10-03-16 om 20:14 schreef yary:
There's "require" to load a module at runtime
http://docs.perl6.org/syntax/require
The $*REPO object controls how to search for modules,
http://docs.perl6.org/language/5to6-perlvar mentions it. I don't know
much more than that,
Thanks for your answer,
I've p
Hi Timo,
Thanks for the code snippets, I can use that too. There is already some
code to test endianness
see mail from David Warring at my question about Union. Date April 4 2016.
Greetings,
Marcel
On 19/04/16 16:25, Elizabeth Mattijsen wrote:
> I’ve been looking at nativecast, but haven’t
On 19-04-16 10:21, Elizabeth Mattijsen wrote:
FWIW, I’ll take PR’s for the PackUnpack distribution to make ‘f’ and ‘d’ work
:-)
Hi Elizabeth,
For the PackUnpack distro this might come in handy... or might go in the
examples corner?
Done some experiments and looks well. Please check the a
Hi,
The documentation about the method act explains that 'the given code is
guaranteed to be only executed by one thread at a time'.
Can I assume from this that any other thread including the main thread
isn't running? I want to know if I need to guard the data with
semaphores I am changing
More simplified code producing the same error;
$_ = 'some message';
my Hash $h = {
f1 => $_,
}
greetings
Marcel
# New Ticket Created by mt1957
# Please include the string: [perl #128036]
# in the subject line of all future correspondence about this issue.
# https://rt.pe
Hi Tom,
Pod::To::PDF
==
Nice to have. It could use something like p6pod2latex as an
intermediate filter and then use popular LaTeX tools to generate the PDF.
At the moment I am writing pod6 in separate files with the following at
the top of such a file. It needs wkhtmltopdf for this t
On 18-05-16 13:07, Richard Hainsworth wrote:
use v6;
my $d = 1;
my $e = 2;
my $f = 0;
#my $r;
my $r = 5;
CATCH {
# when X::AdHoc {
when Exception {
.Str.say;
# $r = 5;
.resume
} }
$r = try {
( $d + $e ) / $f;
};
# my $r = try EVAL ' ( 1 + 2 ) /0 ';
say "r is $r";
Hi Ric
Hi Richard,
This has something to do with lazy evaluation. It triggers the
calculation when it wants to show the value in $r. So commenting out the
first 'say' will error on the second with the shown response. The CATCH
is not at the same scope than the second 'say' statement so there you
get
Hi,
Another symptom from the same bug. After modifying a sub module I get an
error like the following;
Type 'Semi-xml::Sxml' is not declared
at /home/marcel/Languages/Perl6/Projects/Semi-xml/t/108-xml.t:43
--> my Semi-xml::Sxml⏏ $x .= new;
Malformed my
at /home/marcel/Languages/Perl6/Proj
On 05/29/2016 07:47 PM, Brandon Allbery via RT wrote:
getent hosts
> getent hosts on faulty system
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
127.0.0.1 localhost localhost.localdomain localhost6
localhost6.localdomain6
On ok system. It differs
Hi,
I am running tests with a lot of threads. I've seen that when I push it
to about 200 threads, it can get into trouble when the task of the
thread is large enough. Now, looking at some system monitor(atop on
linux), I can see that the user time of 3 or 4 processors(of 8) soared
up to 100%
Hi Elizabeth,
Need to mention that there was a ticket #128624 created 'Buf
initialization error'.
Regards,
Marcel Timmerman
On 07/21/2016 02:52 PM, jn...@jnthn.net via RT wrote:
On Fri Jul 15 12:32:30 2016, mt1...@gmail.com wrote:
With Rakudo version 2016.06-234-g0189851 built on MoarVM version
2016.06-9-g8fc21d5
implementing Perl 6.c on a Asus laptop running Fedora 23 I see the
following happen. Running the code bel
On 07/21/2016 02:52 PM, jn...@jnthn.net via RT wrote:
On Fri Jul 15 12:32:30 2016, mt1...@gmail.com wrote:
With Rakudo version 2016.06-234-g0189851 built on MoarVM version
2016.06-9-g8fc21d5
implementing Perl 6.c on a Asus laptop running Fedora 23 I see the
following happen. Running the code bel
On 07/28/2016 03:00 PM, Jonathan Worthington via RT wrote:
On Fri, Jul 22, 2016 at 10:46 AM, mt1957 via RT <
perl6-bugs-follo...@perl.org> wrote:
I'm afraid the test I've created still hangs in rakudo version
2016.07.1-37-g60f256d built on MoarVM version 2016.07-3-gc01472d
imp
On 08/06/2016 05:39 AM, Zoffix Znet via RT wrote:
Then the question remains why the multiplication results in Num if it
multiplies with an integer
It's merely a matter that such things require addition of three extra operators
per operation (e.g. Duration * Duration, Duration * Num, Num * Dura
On 08/06/2016 05:22 AM, Zoffix Znet via RT wrote:
Hi,
Are you able to see if the issue is still there with the latest and greatest
Rakudo?
I haven't seen this anymore in the code while testing. There have been
so many changes in the perl6 compiler on threads since the this ticket
is reporte
Hi everyone,
I am trying to create a subset but get errors when used. Surely I do
something wrong here or is it a bug?
In REPL
> my Map $p .= new(.kv.reverse);
Map.new((:aa(4),:bb(5),:d(0),:f(1),:ff(6),:g(2),:h(3)))
> subset pv of Str where $_ (elem) $p;
(pv)
> my pv $x = 'aa';
Type check fai
.
It works fine if the three statements are on the same line and if the
program is being read from a file, so I guess it's bug of the REPL.
On Fri, Sep 16, 2016 at 1:49 PM, mt1957 <mailto:mt1...@gmail.com>> wrote:
Hi everyone,
I am trying to create a subset but get er
The files are PRECIS.pm6 and 100-precis.t in the attachment
The Map definitions is at 13 and subset on line 20 of file PRECIS.pm6.
Use is at method exceptions at line 172 in the same file.
The error is generated on line 85 in 100-precis.t
> prove -e perl6 -v t/100-precis.t
t/100-precis.t ..
Hi,
Revisiting the problem using rakudo version 2016.10-31-g6ed3a68 built on
MoarVM version 2016.10 implementing Perl 6.c.
The issue still exist but tried to rewrite things to get it working
role RR1 {
submethod BUILD ( Int :$i ) { say $i // 'No i'; }
}
role RR2 {
submethod BUILD ( Str
On 10/17/2016 11:34 PM, Parrot Raiser wrote:
I just downloaded the 2016.10 RC (into a different directory than
2016.07, in case it broke something).
Testing the REPL, scrolling back through the commands continued back
into the history of previous sessions with the older version. (I.e,
they appea
Hi everyone,
I wanted to share something here of my newest experience about testing
on appveyor. I had pinched a configuration file for an appveyor test,
because it was new for me and I am not experienced on windows. It worked
for several of my modules so I was happy until I ran into a problem
Hi,
I've made a small test program to run a particular test file in an
infinite loop until it fails. I was investigating some race problem in
BSON and the test run was successful most of the time. I got some raw
fingers to repeat the commands so this is the result, simple and maybe
useful for
On 11/07/2016 04:05 AM, Mike South wrote:
On Sat, Nov 5, 2016 at 1:10 PM, mt1957 <mailto:mt1...@gmail.com>> wrote:
Hi,
I've made a small test program to run a particular test file in an
infinite loop until it fails. I was investigating some race
problem in BSO
Hi Will,
It is the MongoDB distribution in the file t/Test-support.pm6. It starts
with;
use v6.c;
use MongoDB::Client;
use MongoDB::Collection;
use MongoDB::Server::Control;
and throws an error at line 119;
119: method get-connection ( Int :$server = 1 --> MongoDB::Client ) {
$serv
On 11/16/2016 09:17 PM, Zoffix Znet via RT wrote:
On Wed, 16 Nov 2016 03:01:30 -0800, mt1...@gmail.com wrote:
Hi,
On windows the path created by method resolve on windows is prefixed
with a '\' which is wrong
e.g. in project config-datalang-refine on appveyor the statement
say 'Resolve: '
Hi,
Recently after pulling the newest rakudo/moarvm (2016.11-238-g2f502b4
built on MoarVM version 2016.11-41-gd2139b5 implementing Perl 6.c) I saw
errors in my code which compiled ok before. This is difficult to golf
down because it disappears when used in another context. So better
explain m
Hi,
How did you build your Perl 6?
That version number looks suspicious. You say you're on 2016.11-238-g2f502b4,
but the current HEAD/nom is 2016.11-226-g1d46004, 12 commits fewer than yours.
The most obvious answer is you're in possession of a time machine and are
reporting bugs from the fut
Hi,
I've rebuild rakudo from the ground up. Version I get now is
2016.11-236-g7b09bee built on MoarVM version 2016.11-41-gd2139b5 which
looks better now. However, problem still exist. Can do for now with the
unit package line before all use statements.
Hi Will,
How can it happen that a test gets hurt in this way? If I know this I
could better search for the problem.
Regards,
Marcel
On 01/20/2017 05:24 PM, Will Coleda via RT wrote:
On Fri, 20 Jan 2017 06:09:00 -0800, mt1...@gmail.com wrote:
Hi,
Since using Log::Async in MongoDB I get pro
Thanks very much for the explanation,
Tried the following to get the Test/TAP crying...
use Test;
is 1, 1, 'test 1';
say "ok 1 - pestering 1";
say "nok 5 - pestering 2";
done-testing;
It then generates
ok 1 - test 1
ok 1 - pestering 1
nok 5 - pestering 2
1..1
Failed -1/1 subtests
Test Summa
test should be
is 1, 1, 'test 1';
say "ok 1 - pestering 1";
say "not ok 5 - pestering 2";
resulting in
ok 1 - test 1
ok 1 - pestering 1
not ok 5 - pestering 2
1..1
Failed -1/1 subtests
Test Summary Report
---
confuse-TAP.t (Wstat: 0 Tests: 3 Failed: 1)
Failed test: 5
Pa
Update...
I've used --merge on prove! This merges the outputs into one. Removing
this option and using note for the output will give correct results
ok 1 - test 1
1..1
ok 1 - pestering 1
not ok 5 - pestering 2
ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.03 usr 0.00 sys +
On 01/25/2017 10:00 AM, Richard Hainsworth wrote:
Lots of traffic on this group about syntax highlighting, which
indicates the work has a broad application.
I've looked at the atom-language-perl6 and the main atom site, but it
all seems quite narrow: running highlighted scripts in a single (at
On 17-04-17 19:12, Zoffix Znet via RT wrote:
thanks for the link, I will look into it.
The code for which the windows implementation fails but not on linux,
can be found here;
https://github.com/MARTIMM/config-datalang-refine/blob/master/lib/Config/DataLang/Refine.pm6
the requires are at line
I understand that the symbols must be used in the same block as the
require statement. There is then still a problem, namely the difference
between linux and windows.
In the mean time I will try to get the usage of the functions to the
block where it is required.
Marcel
> On 17-04-17 19:12, Zo
Thanks very much
Marcel
On 06/03/2017 11:36 AM, Aleks-Daniel Jakimenko-Aleksejev via RT wrote:
> say IntStr ~~ Str
> say Str ~~ IntStr
False
On 06/03/2017 11:36 AM, Aleks-Daniel Jakimenko-Aleksejev via RT wrote:
> sub s (Str() :$str) {say $str.WHAT}; s(:str<1>) # IntStr
> sub s (Str :$str) {say $str.Str.WHAT}; s(:str<1>) # Str
I think the last one is coerced explicitly. Btw I didn't know about
'Str() :$str' specification. What does it
After some discussion I've understood that I have to do some homework
and that this bug can be closed. Thanks Jnhtn and Araraloren for your help
Regards,
Marcel
On 07/22/2017 12:03 PM, Aleks-Daniel Jakimenko-Aleksejev via RT wrote:
> Is there any code snippet to reproduce it?
>
> The backtrace mentions mongo-perl6-driver…
True, its in the mongodb driver project. The test is in the attachment
and it crashed around line
98 or 99. Just finished the 'Find tes
@Aleks-Daniel Jakimenko-Aleksejev
> How can I reproduce this issue? What code did you use?
>
Well,
1) Install a mongod server and start it up. Its address might be
127.0.0.1:27017 which is the default for mongod servers. Servers can be
downloaded using
$ curl -O https://fastdl.mongodb.org/linu
On 10/17/2017 09:27 PM, Timo Paulssen via RT wrote:
> if you can, please re-compile MoarVM passing the same options that were
> used before (you can find them on the first screenfuls of the Makefile
> inside moarvm's source folder) to Configure.pl but also include
> --debug=3 and --optimize=0. This
Hi @Zoffix Znet
Do you have any pointers or howto's to write thread-save code? Otherwise
I'd remove all of the promises. It gave some other problems in the past.
Regards
Marcel
> On Thu, 26 Oct 2017 06:04:51 -0700, alex.jakime...@gmail.com wrote:
>> FWIW, when toasting I observed double free or c
On 10/17/2017 08:37 PM, perl6 via RT wrote:
I've modified the BSON code quite a bit thanks to examples from Zoffix,
crashes are gone! Also I changed the parts encoding the document due to
hangups I still experienced. This was still a problem of which I thought
I had fixed it, issue #20 threadpo
100 matches
Mail list logo