Hi,
no one answered at #perl6, so I sending this question in list:
ihrd: I have question about attr initialization
ihrd: if I have two attr with same name
ihrd: like @.args and %.args
ihrd: and instance object, like .new(args = {foo = 1}), rakudo init both attr
ihrd: and question is, how this is
Hi there!
I use role to mix in some functionality for testing:
my $s = November::Storage::File.new does Testing;
And I have Role definition _after_ this:
role Testing { ... }
Now this is fall with:
Null PMC access in isa()
current instr.: 'infix:does' pc 20660 (src/builtins/op.pir:403)
Hi!
More precisely, I dont understand the meaning of the ':' after '.sort'
see line 1825 of S03
C infix::, the invocant maker
...
ack (or grep) ': {}' in Spec dir can give a lot of examples.
ihrd
Hi!
The problem is how to get it popular and mainstream. The only solution
is let make something standard. (or de facto standard such as RoR in
Ruby)
The only solution -- make good web-frameworks. And so when we have one
we can pack all it`s stuff in one distro and wright good
documentation
(23:24:09) ihrd: hi
(23:24:28) ihrd: question about .kv
(23:24:39) ihrd: rakudo: my @a = {a = 1}, {b =2}; my %h = foo = @a;
say %h.kv.perl;
(23:24:41) p6eval: rakudo 33880: OUTPUT[[foo, {a = 1}, {b = 2}]]
(23:24:59) ihrd: rakudo: say ({ foo = [{a=1}, {b=1}]}).perl;
(23:25:02) p6eval: rakudo
Hi,
I found I send this mail only to Patrick, but thought I send it to list too.
I still have question about rule? and result Match object.
Patrick do not answer, mb some one can say what I miss? or this is bug?
Forward:
Patrick,
I read you post in blog about Z, so if I understand right for do
Hi there,
I have tried to fix our HTML::Template in November which is blocked by
Rakudo segaful.
I was trying to create simple example, but can`t reproduce it. By the
way now I have short
example(much shorter then when I start), and I have questions about it:
grammar G {
token TOP { ^ foo+ $
Hi there,
Rakudo my $i = { a = 1 }; $i = $i.keys;
Odd number of elements found where hash expected.
Rakudo my $a = {a = 1}; my $b = {b = 1}; $a = $b;
Cannot morph a Perl6Scalar.
I missed something or that`s bugs?
Ilya
So, I have found workaround for now:
my $ar = [1,2,3]; loop ( my $i = 0; $i $ar.elems; $i++ ) { $ar[$i].say }
1
2
3
2008/10/30 Илья [EMAIL PROTECTED]:
I have found one:
my $ar = [1,2,3]; my $i = 0; while $i $ar.elems {say $ar[$i]; $i++ };
1
2
3
2008/10/30 Carl Mäsak [EMAIL PROTECTED
Hi!
This is (attached) small game Paper-Rock-Scissors based on the
chromatic`s journal post.
I have question about rand in Rakudo. Look like it`s do not work properly:
...
s
Your Scissors
My Scissors
Draw.
s
Your Scissors
My Scissors
Draw.
s
Your Scissors
My Scissors
Draw.
s
Your Scissors
My Rock
10 matches
Mail list logo