Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 8969a7418661974621f52956be28407ce9ea8a35
https://github.com/perl6/specs/commit/8969a7418661974621f52956be28407ce9ea8a35
Author: usev6
Date: 2015-01-01 (Thu, 01 Jan 2015)
Changed paths:
M S32-setting-
This seems to work now (<[]> behaves like ):
$ perl6 -e 'say so "a" ~~ /<[]>/'
False
$ perl6 -e 'say so "abc" ~~ /a <[]>/'
False
$ perl6 -e 'say so "" ~~ /<[]>/'
False
I added two tests to S05-mass/stdrules.t with commit
https://github.com/perl6/roast/commit/9bad4dd1af
I'm closing this ticket
This has not changed:
$ perl6 -e 'if 42, 44, 22 -> *@a { say @a.perl }'
Array.new()
$ perl6 -e 'while 42, 44, 22 -> *@a { say @a.perl; last }'
Array.new()
Nowadays this gives the error message from std:
$ perl6 -e 'say ord.Cool'
===SORRY!=== Error while compiling -e
Unsupported use of bare 'ord'; in Perl 6 please use .ord if you meant $_, or
use an explicit invocant or argument
at -e:1
--> say ord⏏.Cool
expecting any of:
argument li
I added a test for this to S12-attributes/instance.t with commit
https://github.com/perl6/roast/commit/67d36ed7db
AFAIU the problem stems from ($.x, $.y) being (parsed as) a signature. Even
with one attribute the same failure occurs:
$ ./perl6-m -e 'class C { has ($.x) is rw; }'
===SORRY!=== Er
Hi,
I think these things can be useful to a newcomer like me:
1) I've installed the rakudo-star 2014.12.1 on windows 8.1.
When I tried to lauch a perl6 program with perl6 I have a "command not
found"
error. It's because the rakudo star directory (C:\rakudo\bin) is not in the
PATH environment varia
I use "ufo" for this sort of thing when doing development work.
$ panda install ufo
$ ufo ; # in top level of checked out perl6 project.
This creates a makefile, which gives you a "test" target, among other
things. (This test target is almost exactly what you have above,
though)
On Wed, Dec 31
On Wed Dec 17 13:31:07 2014, barto...@gmx.de wrote:
> Nowadays this fails with a typed exception X::Sequence::Deduction
>
> $ ./perl6 -e 'say 1, 2, 6 ... *'
> ===SORRY!===
> Unable to deduce arithmetic or geometric sequence from 1,2,6 (or did
> you really mean '..'?)
>
> $ ./perl6 -e 'say 1, 2, 6
Excuse me but I can't find the documentation.
Is there a way to compile a perl 6 program to moar vm bytecode?
For example from "example.pl" to "example.moarvm".
Thanks,
Massimo