Re: Question about @_ for a sub given no arguments

2010-06-29 Thread Stefan O'Rear
On Tue, Jun 29, 2010 at 04:02:19PM -0700, Jonathan Leto wrote: > Howdy, > > I have a question about @_[0] for a sub that defines no arguments. > In the current Rakudo I get: > > $ parrot ./perl6.pbc > > my $r = sub { say @_[0].WHAT }; $r.() > Proxy() > > whereas Pugs calls it a "Scalar". Which

[perl #76242] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in at least one of these files: t/spec/S05-match/make.t, t/spec/S06-traits/is-copy.t commit b1a01252fa1459396c9f771a5c47c335eb5e6383 Author: moritz Date: Tue Jun 29 23:14:20 2010 + [t/spec] test for RT

Question about @_ for a sub given no arguments

2010-06-29 Thread Jonathan Leto
Howdy, I have a question about @_[0] for a sub that defines no arguments. In the current Rakudo I get: $ parrot ./perl6.pbc > my $r = sub { say @_[0].WHAT }; $r.() Proxy() whereas Pugs calls it a "Scalar". Which is correct? I have looked through S06, but I can't find anything related to this.

r31505 -[Spec] Clarify when to return Nil from the series operator.

2010-06-29 Thread pugs-commits
Author: colomon Date: 2010-06-29 20:49:47 +0200 (Tue, 29 Jun 2010) New Revision: 31505 Modified: docs/Perl6/Spec/S03-operators.pod Log: [Spec] Clarify when to return Nil from the series operator. Modified: docs/Perl6/Spec/S03-operators.pod ==

[perl #73162] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S02-builtin_data_types/whatever.t commit 3c4712024e03a1bf172dd4a848a4163686f8f59c Author: bbkr Date: Tue Jun 29 14:14:07 2010 + [t/spec] tests for RT #73162 Rakudo cant parse "{*.{}}()" (but S

Re: An implement of $*ARGFILES for Rakudo

2010-06-29 Thread Moritz Lenz
Hi, thank you both for your contributions, I've pushed a mixture of both to Rakudo. I liked the setting up of $*ARGFILES in Tyler Curtis' patch, but modifying @*ARGS broke other things (namely if there were no arguments, @*ARGS would contain '-', which broke tests in t/spec/S06-other/main-usage.t

[perl #73400] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S04-statements/for_with_only_one_item.t commit 80da87df38b1166278e10ec410e9a3e1062c09b2 Author: bbkr Date: Tue Jun 29 12:54:21 2010 + [t/spec] tests for RT #73400 Cannot loop over Capture obje

[perl #72914] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit c68e9b9b2138222022e62957834a357d69bb9217 Author: bbkr Date: Tue Jun 29 12:41:07 2010 + [t/spec] tests for RT #72914 Rakudo doesnt treat ^$n at the end of an infi

[perl #73508] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit 2021f32086a7c9614250e3379da84239fa81c6a3 Author: bbkr Date: Tue Jun 29 12:30:41 2010 + [t/spec] tests for RT #73508 Rakudo doesnt print anything on "say (1,2,4..

[perl #75316] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit d185f82791a7301e389dc8c6df9754c8a937f808 Author: bbkr Date: Tue Jun 29 12:23:22 2010 + t[t/spec] tests for RT #75316 1...1..0 keeps Rakudo on 100% CPU usage

[perl #75832] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit bdfbb50e42841d89ba022e52de03c5661c93a59a Author: bbkr Date: Tue Jun 29 12:14:47 2010 + t[t/spec] tests for RT #75832 fudged tests that cause infinite loops becau

[perl #75794] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S04-statements/gather.t commit 98425f05d0427d9d78592a75a18b00039bdabc9f Author: moritz Date: Tue Jun 29 10:27:54 2010 + [t/spec] test for RT #75794 - take() with multiple arguments gi

[perl #75950] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/assign.t commit 237f1992528d15f84b02d0f3bafdc4489096e5d5 Author: moritz Date: Tue Jun 29 10:00:52 2010 + [t/spec] test for RT #75950, my ($x) = grep $early_hit, @long_range

[perl #75698] tests available

2010-06-29 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit b0f602506f06761e471735595b380b601c30178a Author: moritz Date: Tue Jun 29 09:57:00 2010 + [t/spec] test for RT #75698, -5 ... ^5 should contain only one 0

Re: Another implementation of $*ARGFILES

2010-06-29 Thread Tyler Curtis
That patch was improperly formatted. Here's the properly formatted patch, thanks to sorear for telling me how to do this. On Tue, Jun 29, 2010 at 3:24 AM, Tyler Curtis wrote: > I've included the output of "git diff HEAD". As well, the source code > in non-patch format can be found in this github

Another implementation of $*ARGFILES

2010-06-29 Thread Tyler Curtis
I've included the output of "git diff HEAD". As well, the source code in non-patch format can be found in this github repo: http://github.com/ekiru/rakudo/tree/argfiles I know there has already been a submission, but I had already gotten a significant part of this implemented when I saw it, and it