[perl #83454] [BUG] uniq should use === semantics, not eq semantics in Rakudo

2013-03-28 Thread Will Coleda via RT
On Mon Dec 10 10:39:12 2012, jn...@jnthn.net wrote: > On Sat Feb 05 16:17:52 2011, masak wrote: > > rakudo: say (uniq 1, "1").perl > > rakudo 924242: OUTPUT«(1)␤» > > is that what we expect of uniq? > > no, I expect === semantics > > * masak submits rakudobug > > Cat.new("mitsy") and Dog.new("

[perl #83454] [BUG] uniq should use === semantics, not eq semantics in Rakudo

2011-02-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #83454] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=83454 > rakudo: say (uniq 1, "1").perl rakudo 924242: OUTPUT«(1)␤» is that what we expect of

Re: "use" semantics

2009-01-04 Thread Brandon S. Allbery KF8NH
On 2009 Jan 4, at 8:53, Carl Mäsak wrote: Now, I can precompile the B module to PIR without a problem, but when I compile the A module, Rakudo/Parrot aborts because it runs the code in B and dies. $ parrot languages/perl6/perl6.pbc --target=pir --output=B.pir B.pm $ parrot languages/perl6/perl6

Re: "use" semantics

2009-01-04 Thread Daniel Ruoso
Em Dom, 2009-01-04 às 14:53 +0100, Carl Mäsak escreveu: > $ parrot languages/perl6/perl6.pbc --target=pir --output=B.pir B.pm > $ parrot languages/perl6/perl6.pbc --target=pir --output=A.pir A.pm > Remember, remember, the fifth of November > current instr.: 'die' pc 14950 (src/builtins/control.pir:

Re: "use" semantics

2009-01-04 Thread Carl Mäsak
Apologies if the point I'm about to make repeats what either Jeff or Daniel already said. I have two modules, A and B: $ cat A.pm use v6; use B; $ cat B.pm use v6; die "Remember, remember, the fifth of November"; Now, I can precompile the B module to PIR without a problem, but when I compile the

Re: "use" semantics

2008-12-28 Thread Daniel Ruoso
Em Dom, 2008-12-28 às 00:31 -0500, Jeff Horwitz escreveu: > the modules it uses assume they're embedded in an apache process, > dlfunc'ing a bunch of apache API functions. I think that means the 'dlfunc' calls need to be in INIT and not in BEGIN. > right now it is impossible to compile such a mod

"use" semantics

2008-12-27 Thread Jeff Horwitz
i opened RT #61742 because the semantics of the "use" statement in rakudo changed in such a way that i could no longer precompile mod_perl6 modules. "use" statements are now being invoked during PAST generation, which requires any "used" modules to be in the @INC path and error-free. moritz in