Re: comments as preserved meta-data (was Re: Embedded comments ...)

2009-08-12 Thread Darren Duncan
Timothy, you raise a good point that I had been thinking about earlier as a consequence of my proposal about comments being preserved and attached as meta-data to what is most appropriate contextually. I'm thinking that it should be formally defined somewhere (maybe as an extra section in the

Re: comments as preserved meta-data (was Re: Embedded comments ...)

2009-08-12 Thread Timothy S. Nelson
I had an interesting idea I wanted to put out there. If I'm being a good boy and commenting my code, I do things like the following pseudocode: # Get the stuff and do other stuff with it @lines = slurp("file"); @otherlines = map { s/foo/bar/ } @lines putfile("fi

[perl #64990] tests available

2009-08-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S04-exceptions/fail.t commit 36252e8d1ee13f5a26aff7620bb65035f9d99a4e Author: kyle Date: Thu Aug 13 03:19:04 2009 + [t/spec] Test for RT #64990 git-svn-id: http://svn.pugscode.org/p..

[perl #65004] tests available

2009-08-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/misc-interpolation.t commit 4fcd5328be08a2bd3e55f8d21967e30342358c2e Author: kyle Date: Thu Aug 13 03:19:09 2009 + [t/spec] Test for RT #65004 git-svn-id: http://svn.pugs

Re: Should @x be defined after only "my @x"? (RT #64968)

2009-08-12 Thread Uri Guttman
> "KH" == Kyle Hasselbacher writes: KH> use v6; KH> my $s;   #  ! $x.defined KH> my @a;  # @a.defined KH> That's the current Rakudo behavior. RT #64968 suggests that this is a KH> bug. In Perl 5, @a would not be defined until something was put into KH> it. Which should it be?

Should @x be defined after only "my @x"? (RT #64968)

2009-08-12 Thread Kyle Hasselbacher
use v6; my $s;   #  ! $x.defined my @a;  # @a.defined That's the current Rakudo behavior. RT #64968 suggests that this is a bug. In Perl 5, @a would not be defined until something was put into it. Which should it be? I'd like to write a test for this. Thanks. Kyle.

[perl #64952] tests available

2009-08-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S05-match/capturing-contexts.t commit a028ec7cdd599cde941391e8d05699a86608dd76 Author: kyle Date: Wed Aug 12 21:07:20 2009 + [t/spec] Tests for RT #64952 git-svn-id: http://svn.pugsco

[perl #68434] Temporal.pm - gmtime does not adjust for leap seconds

2009-08-12 Thread via RT
# New Ticket Created by Jan Ingvoldstad # Please include the string: [perl #68434] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=68434 > Rakudo revision: 8d7fc7d4a16b26b4b539de8c08a030cfecfe1bb5 OS (uname -r): Linux knut

Re: Does a string remember all Unicode levels?

2009-08-12 Thread Helmut Wollmersdorfer
Moritz Lenz wrote: t/spec/S02-builtin_data_types/unicode.t has tests like this: # LATIN CAPITAL LETTER A, COMBINING GRAVE ACCENT my Str $u = "\x[0041,0300]"; is $u.bytes, 3, 'combining À is three bytes as utf8'; is $u.codes, 2, 'combining À is two codes'; is $u.graphs, 1, 'combining À is one g