Re: [perl #63874] [PATCH] floor-ceiling-round-sign-and-abs-in-perl6

2009-03-14 Thread fREW Schmidt
> I'm all in favor of converting things that are complex in PIR to things > that are simple in Perl 6 ... but why convert things that boil down to a > single instruction in PIR into complex things in Perl 6? Especially > since the complex Perl 6 code is highly likely to run a couple orders of > ma

[perl #63878] Null PMC access when stringifying enum types and values in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63878] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63878 > rakudo: enum A <>; my A $a; say $a ne "" rakudo 5b1ff9: OUTPUT«Null PMC access in get_

Re: [perl #63874] [PATCH] floor-ceiling-round-sign-and-abs-in-perl6

2009-03-14 Thread Geoffrey Broadwell
On Sat, 2009-03-14 at 14:07 -0700, fREW Schmidt wrote: > # New Ticket Created by fREW Schmidt > # Please include the string: [perl #63874] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=63874 > > > > , perl6 I'm al

[perl #63874] [PATCH] floor-ceiling-round-sign-and-abs-in-perl6

2009-03-14 Thread via RT
# New Ticket Created by fREW Schmidt # Please include the string: [perl #63874] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63874 > , perl6 -- fREW Schmidt http://blog.afoolishmanifesto.com diff --git a/src/builtins

[perl #63876] Rakudo erroneously reports invalid arg type in named portion of args in some cases where no named args are present

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63876] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63876 > rakudo: sub f ($f, *...@slurp) { @slurp[0].say; @_[0].say }; f("OH","HAI"); rakudo 5b

[perl #63880] Enums and Whatever stars don't play nice together in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63880] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63880 > masak: bug-bug! :) rakudo: say 1 < * rakudo 5b1ff9: OUTPUT«Use of uninitialized value

[perl #63884] Null PMC access when accessing enum value inside package in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63884] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63884 > masak: Rather too many tickets than too few. that's, like, my motto. rakudo: package

[perl #63882] Rakudo lets you define a sub over an enum value if you do it in an eval

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63882] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63882 > rakudo: enum A ; say a; eval 'sub a { "O HI" }'; say a rakudo 5b1ff9: OUTPUT«0␤a␤» wh

[perl #63872] [PATCH] implement $*PROGRAM_NAME (S28)

2009-03-14 Thread mbere...@autoexec.demon.nl (via RT)
# New Ticket Created by mbere...@autoexec.demon.nl # Please include the string: [perl #63872] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63872 > Just a one liner to copy the full pathname of the running Perl script, or

[perl #63872] [PATCH] implement $*PROGRAM_NAME (S28)

2009-03-14 Thread jn...@jnthn.net via RT
On Sat Mar 14 11:07:14 2009, mbere...@autoexec.demon.nl wrote: > Just a one liner to copy the full pathname of the running Perl script, or > otherwise '-e' into $*PROGRAM_NAME. (The * twigil does not appear in the > patch). > Thanks, applied as git 6d97951. Not sure what it should do in -e, but wi

[perl #63864] Void-context prompt in Rakudo prints but doesn't read from $*IN

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63864] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63864 > it seems that void-context prompt doesn't read a line, though. is that a bug or a feat

[perl #63866] Things end up in the wrong namespace sometimes in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63866] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63866 > rakudo: module A::B { role B { }; class D does A::B::B { } } rakudo 41267f: RESULT«{ .