Does =$*ARGS work?

2007-04-12 Thread brian d foy
Randal and I are starting work on Learning Perl 6, and now that I've completed a lot of other things, I can actually start paying attention to Perl 6. Here's the first of my stupid, where have you been for the past 2 years you moron questions. :) I'm working on the chapter on I/O (Chapter 5 in

using sp space in character classes

2007-04-12 Thread Brad Bowman
Hello, In S05, sp is listed under named assertions and isn't explicitly mentioned in the section on character classes. Can sp be used in character classes, in particular to include or exclude space (U+0020)? eg. space-sp, alnum+sp Is there another way to do this, maybe [\ ] escaping?

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
Hi, brian d foy wrote: Under the section The for Statement in S04, it says that the diamond operator while( ) { ... } becomes in Perl 6 for =$*ARGS { ... } Some time ago I read that too, and wondered why that's not [EMAIL PROTECTED] That seems more reasonable, because the

Re: Does =$*ARGS work?

2007-04-12 Thread brian d foy
In article [EMAIL PROTECTED], Moritz Lenz [EMAIL PROTECTED] wrote: Hi, brian d foy wrote: Under the section The for Statement in S04, it says that the diamond operator while( ) { ... } becomes in Perl 6 for =$*ARGS { ... } Some time ago I read that too, and

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
Hi, brian d foy wrote: In article [EMAIL PROTECTED], Moritz Lenz [EMAIL PROTECTED] wrote: Hi, brian d foy wrote: Under the section The for Statement in S04, it says that the diamond operator while( ) { ... } becomes in Perl 6 for =$*ARGS { ... } Some time ago I read

Re: Synopsis 26

2007-04-12 Thread Damian Conway
[decloak] I have just uploaded the alpha release of Perl6::Perldoc to CPAN. From the README: Perl6::Perldoc version 0.0.2 This distribution provides modules and applications that allow you to use the Pod dialect of the new Perl 6 documentation markup language Perldoc.

Re: Synopsis 26

2007-04-12 Thread Ævar Arnfjörð Bjarmason
On 4/12/07, Damian Conway [EMAIL PROTECTED] wrote: C our $BALANCED_BRACKETS = .. on line 22 in Parser.pm needs to be C our $BALANCED_BRACKETS; $BALANCED_BRACKETS = ... or almost all the tests have compile errors on my 5.8.8. With that fix a lot of tests still fail, here's a full report:

Re: Synopsis 26

2007-04-12 Thread Ævar Arnfjörð Bjarmason
On 4/12/07, Ævar Arnfjörð Bjarmason [EMAIL PROTECTED] wrote: With that fix a lot of tests still fail, here's a full report: http://sial.org/pbot/24167 I updated to YAML::Syck 0.84 which made different parts of the test suite fail, see http://sial.org/pbot/24168

Re: using sp space in character classes

2007-04-12 Thread Larry Wall
On Thu, Apr 12, 2007 at 06:20:45PM +1000, Brad Bowman wrote: : Hello, : : In S05, sp is listed under named assertions and isn't explicitly : mentioned in the section on character classes. : : Can sp be used in character classes, in particular to include or : exclude space (U+0020)? eg.

[svn:perl6-synopsis] r14370 - doc/trunk/design/syn

2007-04-12 Thread larry
Author: larry Date: Thu Apr 12 17:11:56 2007 New Revision: 14370 Modified: doc/trunk/design/syn/S02.pod Log: Clarify the single-character backslash escapes, including \c control forms. Note that \c[ is not legal to mean \c[ESCAPE] Modified: doc/trunk/design/syn/S02.pod

[svn:perl6-synopsis] r14371 - doc/trunk/design/syn

2007-04-12 Thread larry
Author: larry Date: Thu Apr 12 17:20:55 2007 New Revision: 14371 Modified: doc/trunk/design/syn/S02.pod Log: typo Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/syn/S02.pod(original) +++