# New Ticket Created by Carl Mäsak
# Please include the string: [perl #101876]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=101876
masak nom: my @a = a b c ; @a.unshift(1); @a.unshift(0);
@a.unshift(2);
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #101900]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=101900
jnthn nom: enum Foo a b ; class A { }; say A but Foo::a
p6eval nom e1a62b:
On Fri Sep 05 03:20:03 2008, masak wrote:
$ ../../parrot perl6.pbc -e 'say OH HAI' # works
OH HAI
$ ../../parrot perl6.pbc --target=PAST -e 'say OH HAI' # outputs
nothing
...whereas both these approaches work when the -e program is replaced
by a file with corresponding contents.
22:47
Since this ticket is about a clarification to the specification, it's been
migrated to the spec's issue queue:
https://github.com/perl6/roast/issues/7
--
Will Coke Coleda
On Tue Jun 30 19:55:26 2009, pmichaud wrote:
I've changed this ticket to indicate that it's waiting on spec
clarification as to the exact meaning of prior in regexes.
Pm
Since this ticket is about a clarification to the specification, it's been
migrated to the spec's issue queue:
On Fri Oct 21 05:54:53 2011, coke wrote:
On Tue Jun 30 19:55:26 2009, pmichaud wrote:
I've changed this ticket to indicate that it's waiting on spec
clarification as to the exact meaning of prior in regexes.
Pm
Since this ticket is about a clarification to the specification, it's
On Fri Oct 21 05:51:00 2011, coke wrote:
Since this ticket is about a clarification to the specification, it's
been
migrated to the spec's issue queue:
https://github.com/perl6/roast/issues/7
Whoops, I meant:
https://github.com/perl6/specs/issues/6
--
Will Coke Coleda
On Mon Sep 19 20:57:19 2011, coke wrote:
On Mon Apr 05 14:21:29 2010, coke wrote:
On Sun Jan 11 00:21:58 2009, pmichaud wrote:
On Mon Nov 24 09:12:36 2008, masak wrote:
masak rakudo: for 1..5 - $a, $b { say $a, $b }
p6eval rakudo 33137: OUTPUT[1234StopIterationcurrent
instr.:
On Fri, Oct 21, 2011 at 9:14 AM, Will Coleda via RT
perl6-bugs-follo...@perl.org wrote:
On Mon Sep 19 20:57:19 2011, coke wrote:
On Mon Apr 05 14:21:29 2010, coke wrote:
On Sun Jan 11 00:21:58 2009, pmichaud wrote:
On Mon Nov 24 09:12:36 2008, masak wrote:
masak rakudo: for 1..5 - $a,
On Sat Aug 15 14:04:44 2009, masak wrote:
jnthn rakudo: class A { has $.foo; method new($foo) {
nextwith(:$foo) } }; say A.new(OH HAI).foo
p6eval rakudo 0d4fe0: OUTPUT«too many named arguments - 'foo' not
expectedin method A::new
masak jnthn: should that have worked?
jnthn Hmm
jnthn
09:42 masak [Coke]: looks like the desired behavior.
Closable with tests.
--
Will Coke Coleda
On Sun Apr 04 10:33:15 2010, masak wrote:
lue rakudo: my @s = ($_ * 2 if $_ ** 2 3 for 0 .. 99); say @s.perl
p6eval rakudo 02cf9c: OUTPUT«Method 'perl' not found for invocant of
class 'ArrayIterator'[...]
colomon ArrayIterator ?!
* masak submits rakudobug
This feels wrong. Surely it
On behalf of the Rakudo development team, I'm happy to announce the
October 2011 release of Rakudo Perl #45 Houston. Rakudo is an
implementation of Perl 6 on the Parrot Virtual Machine (see
http://www.parrot.org). The tarball for this release
is available from
See attached short patch to src/core/List.pm to fix #101858.
-'f
From d18c6af3e8c8bd2e1dc43d132fcc2cb39fc41e6c Mon Sep 17 00:00:00 2001
From: Geoffrey Broadwell ge...@broadwell.org
Date: Thu, 20 Oct 2011 21:28:36 -0700
Subject: [PATCH] List.unshift(): loop while @elems is non-empty, not while
# New Ticket Created by Paweł Pabian
# Please include the string: [perl #101912]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=101912
[19:58] bbkr_ everyone: can you please confirm segfault in this code on your
On Tue Aug 03 08:59:05 2010, moritz wrote:
17:54 moritz_ rakudo: class A { has $b; method new { my $b = 3; say
$b } }; A.new()
17:54 +p6eval rakudo efe72c: OUTPUT«Type objects are abstract and have
no attributes, but you tried to access $!b in 'A::new' at line
22:/tmp/ACdVhQjE_4 in
On Sat Mar 20 07:49:13 2010, masak wrote:
bbkr rakudo: grammar CSV { has Str $.sep }; say CSV.new(sep =
,).sep
p6eval rakudo 0bb373: OUTPUT«Any()»
bbkr hmm, why Any() ?
masak bbkr: it's the new 'undef'
jnthn masak: Yes, but shoulda been Str.
masak o.O
jnthn erm, shoulda been , actually
On Sun May 02 08:33:11 2010, masak wrote:
masak rakudo: class A {}; class B { has A $.foo .= new }
p6eval rakudo c4857a: OUTPUT«too few positional arguments: 1 passed,
2 (or more) expected [...]
slavik s1n: it will take 1 month to do that ...
* masak submits rakudobug
masak alpha: class A
On Fri, Oct 21, 2011 at 3:52 PM, Will Coleda via RT
perl6-bugs-follo...@perl.org wrote:
On Sun May 02 08:33:11 2010, masak wrote:
masak rakudo: class A {}; class B { has A $.foo .= new }
p6eval rakudo c4857a: OUTPUT«too few positional arguments: 1 passed,
2 (or more) expected [...]
slavik
On Wed Aug 11 19:12:51 2010, coke wrote:
On Tue Feb 02 00:32:30 2010, moritz wrote:
$ perl6 -e '{redo}'|wc -l
0
$
Rakudo prints a newline to STDERR, nothing else. That's a bit
less-than-awesome, I'd expect a warning like redo without a block
at
... or so.
Cheers,
Moritz
On Thu Sep 02 03:17:54 2010, smash wrote:
IRC log:
11:07 smash rakudo: eval say 1 for 1..4;
11:07 +p6eval rakudo 27d54d: OUTPUT«1Null PMC in copy in 'eval'
at line 1117:CORE.setting in main program body at line
22:/tmp/kyKDs6lmfi»
11:08 smash !?
11:11 moritz_ rakudo: eval 'say 1'
On Sun May 30 08:50:55 2010, masak wrote:
pmichaud rakudo: package A { package C::B { our sub c { say OH HAI
} } }; A::C::B::c
p6eval rakudo 1727ca: OUTPUT«Can not find sub A::C::B::c [...]
pmichaud that one is wrong (afaik)
masak cognominal: :)
pmichaud that should've printed OH HAI
*
On Sun Aug 01 03:08:48 2010, masak wrote:
szabgab rakudo: say %*ENV.perl
p6eval rakudo 9b6189: OUTPUT�Method 'key' not found for invocant of
class 'String' [...]
masak that looks like Parrot things leaking through.
* masak submits rakudobug
All of these work now except for $*PATH, which
On Wed Jul 14 21:43:09 2010, supernovus wrote:
Say you have a module file called Greetings.pm6 that contains:
use v6;
module Greetings {
sub hello($name='World') {
say Hello $name;
}
}
If you were to do: perl6 -e 'use Greetings; hello(moon);'
It would appropriately print Hello
On Fri Sep 17 04:07:17 2010, masak wrote:
oyse How do you modify a environment variable in Perl6. Tried
%*ENVTEST = 'Test', but that does not work
masak it should.
masak rakudo: %*ENVTEST = 'Test'; say %*ENVTEST
p6eval rakudo 2c8bb8: OUTPUT«Cannot modify readonly value in
'infix:=' [...]
On Thu Jun 17 12:45:24 2010, rakudo...@autoexec.demon.nl wrote:
This (reduced from HTTP::Daemon) used to work in alpha:
class HTTP::Request {
has Str $.method is rw;
}
...
return HTTP::Request.new( method = 'GET' );
but in master the word 'method'
On Thu Jun 24 05:18:07 2010, masak wrote:
masak rakudo: say ~(1, 1, [+] ... *)[^10]
p6eval rakudo 11cbd4: OUTPUT«get_attr_str() not implemented in class
'Perl6MultiSub' in 'infix:...' at line 1 [...]
* masak submits rakuodbug
colomon rakudo: say ~(1, 1, [+] ... 50)
p6eval rakudo 11cbd4:
On Wed Jul 14 15:42:09 2010, cognominal wrote:
Sorry. My example was wrong. Here another one. Ca([]) executes as
intended but
C@t does not. I find that unintuitive.
cat mmd5.pm6
multi sub a(@a) { say 1 ~ @a.perl }
multi sub a([]) { say 2 ~ [].perl }
my @t=(1,2);
a([]);
a(@t)
$ perl6
On Tue Jul 20 11:36:38 2010, ash_gti wrote:
Autovivifcation works in a single file, but if you try to do it across files
and use 'use Name' to import an object it doesn't work:
john@Strudel /tmp $ cat t.pm
class foo::a {
};
class foo {
};
say 'done'
john@Strudel /tmp $ perl6 t.pm
29 matches
Mail list logo