Re: Perl 6 How Do I? (Was: Perl 6 Summary for 2005-01-11 through 2005-01-18)

2005-01-19 Thread Jonathan Scott Duff
On Tue, Jan 18, 2005 at 10:43:00PM -0700, Luke Palmer wrote: Oh, I thought I replied, but now that I look over the question I guess I didn't. The question was: Austin Hasting writes: How do I concisely code a loop that reads in lines of a file, then calls mysub() on each letter in each

Re: Proposed vtable changes WRT method lookup

2005-01-19 Thread Leopold Toetsch
[ cc'ed p6l ] Matt Fowles wrote: Leo~ On Wed, 19 Jan 2005 10:02:26 +0100, Leopold Toetsch [EMAIL PROTECTED] wrote: But where does that PerlMMD PMC come from? Does the Perl6 compiler generate one somewhere? It is generated by the compiler. During compilation all of the different MMD functions

Re: Proposed vtable changes WRT method lookup

2005-01-19 Thread Matt Fowles
Leo~ On Wed, 19 Jan 2005 16:26:07 +0100, Leopold Toetsch [EMAIL PROTECTED] wrote: [ cc'ed p6l ] Matt Fowles wrote: Leo~ On Wed, 19 Jan 2005 10:02:26 +0100, Leopold Toetsch [EMAIL PROTECTED] wrote: But where does that PerlMMD PMC come from? Does the Perl6 compiler generate one

Re: Perl 6 How Do I? (Was: Perl 6 Summary for 2005-01-11 through 2005-01-18)

2005-01-19 Thread Austin Hastings
Luke Palmer wrote: Austin Hasting writes: How do I concisely code a loop that reads in lines of a file, then calls mysub() on each letter in each line? Or each xml tag on the line? And I guess the answer is the same as in Perl 5. I don't understand what the problem is with Perl 5's

Re: E, Perl 6, etc.

2005-01-19 Thread Larry Wall
On Tue, Jan 18, 2005 at 10:08:57PM -0800, Rich Morin wrote: : I recently encountered a language, E, which has some very nifty : features for building distributed systems. The current version : of E is built on top of Java, but I wonder: : : * whether E's features will (could) be supported in

Re: Perl 6 How Do I? (Was: Perl 6 Summary for 2005-01-11 through 2005-01-18)

2005-01-19 Thread Luke Palmer
Austin Hastings writes: Luke Palmer wrote: Austin Hasting writes: How do I concisely code a loop that reads in lines of a file, then calls mysub() on each letter in each line? Or each xml tag on the line? And I guess the answer is the same as in Perl 5. I don't understand

Re: Perl 6 How Do I?

2005-01-19 Thread Luke Palmer
Uri Guttman writes: LP == Luke Palmer [EMAIL PROTECTED] writes: LP use Rule::XML; LP for { LP mysub($_) for m:g/(Rule::XML::tag)/; LP } shouldn't that be in the Grammar namespace? not that we have finalized namespaces but i was under the impression that