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

reporting bugs

2009-01-04 Thread Richard Hainsworth
I posted an email to per6-all asking about how one should go about reporting bugs. That message has appeared on the list. So again: how can bugs be reported? There was a suggestion by PM for people to try out perl6 on some real software, and the scripting completion tasks were suggested. So

Re: reporting bugs

2009-01-04 Thread Richard Hainsworth
s/has appeared/has NOT appeared/ Richard Hainsworth wrote: I posted an email to per6-all asking about how one should go about reporting bugs. That message has appeared on the list.

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: reporting bugs

2009-01-04 Thread Brandon S. Allbery KF8NH
On 2009 Jan 4, at 9:20, Richard Hainsworth wrote: I posted an email to per6-all asking about how one should go about reporting bugs. That message has appeared on the list. So again: how can bugs be reported? A quick google of "rakudo bug" points to rakudo...@perl.org -- brandon s. allbery

Re: [perl #39807] [BUG] load_bytecode of .pir files fails (sometimes)

2009-01-04 Thread chromatic
On Sunday 04 January 2009 06:38:08 Klaas-Jan Stol via RT wrote: > On Sun Jan 04 06:03:03 2009, rurban wrote: > > The imcc problem is still there. Found by testing TT #127. > > The trace shows some off-by-one string failures: > > > > 98 get_class P0, "Data::Dumper" P0=PMCNULL > >101 if

Re: Which brackets should @a.perl use?

2009-01-04 Thread moritz
> m...@edward:~/perl/6$ ./ap2 > @c: 3 elements: ["blue", "light", "hazard"] > @c[0]: blue > $c: 3 elements: ["blue", "light", "hazard"] > $c[0]: blue > m...@edward:~/perl/6$ > > > Is Rakudo's behaviour correct here? S02 says: "To get a Perlish representation of any object, use the .perl method. L

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: Which brackets should @a.perl use?

2009-01-04 Thread Uri Guttman
> "m" == moritz writes: m> S02 says: m> "To get a Perlish representation of any object, use the .perl method. Like m> the Data::Dumper module in Perl 5, the .perl method will put quotes around m> strings, square brackets around list values," m> So according to this, Rakudo has it

Re: reporting bugs

2009-01-04 Thread Patrick R. Michaud
On Sun, Jan 04, 2009 at 05:20:56PM +0300, Richard Hainsworth wrote: > I posted an email to per6-all asking about how one should go about > reporting bugs. That message has appeared on the list. > > So again: how can bugs be reported? See the "Reporting bugs" section of README file in languages/p

Re: [perl #61944] Rakudo stringifies some operands to X~X too early

2009-01-04 Thread Patrick R. Michaud
On Sat, Jan 03, 2009 at 09:33:30AM -0800, Carl Mäsak wrote: > rakudo: my %test = (1 => ); my @word = ; > (%test{1} X~X @word).perl.say > rakudo 34889: OUTPUT«["a b ce", "a b cf", "a b cg"]␤» > it appears to be stringifying before crossing > it..any idea what i did wrong? > * masak submits rakud

Re: Which brackets should @a.perl use?

2009-01-04 Thread Markus Laker
On Sun, 04 Jan 2009 14:19:15 -0500, Uri Guttman wrote: >> "m" == moritz writes: > m> But I think that a .perl()ification as ("blue", "light", "hayard",) would > m> make much more sense, because simple thing like > > m> @a.push eval(@b.perl) > > m> would then DWIM. > > for your def

[perl #61960] matching scalars

2009-01-04 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #61960] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=61960 > $ perl6 > my ($x,$y)=;$x~~/ $y / and say "match" Null PMC access in get_string()

Re: Which brackets should @a.perl use?

2009-01-04 Thread Uri Guttman
> "ML" == Markus Laker writes: ML> Adding a single backslash before `eval' pushes an anonymous array on to ML> @b, as you envisage wanting to do: ML> # Imagine that @a.perl has produced this: ML> my $p = "('blue', 'light', 'hazard')"; ML> my @b; ML> @b.push(\eval $p); but that

Re: reporting bugs

2009-01-04 Thread Timothy S. Nelson
On Sun, 4 Jan 2009, Patrick R. Michaud wrote: On Sun, Jan 04, 2009 at 05:20:56PM +0300, Richard Hainsworth wrote: I posted an email to per6-all asking about how one should go about reporting bugs. That message has appeared on the list. So again: how can bugs be reported? See the "Reporting b

r24759 - docs/Perl6/Spec

2009-01-04 Thread pugs-commits
Author: pmichaud Date: 2009-01-05 08:03:29 +0100 (Mon, 05 Jan 2009) New Revision: 24759 Modified: docs/Perl6/Spec/S12-objects.pod Log: typo fix. Modified: docs/Perl6/Spec/S12-objects.pod === --- docs/Perl6/Spec/S12-objects.pod