Re: hotplug regexes, other misc regex questions

2002-09-19 Thread Damian Conway
Josh Jore wrote: Would it be correct for this to print 0? Would it be correct for this to print 2? my $n = 0; aargh =~ /a* { $n++ } aargh/; print $n; Yes. ;-) Wouldn't that print 2 if $n is lexical Err. It *is* lexical in this example. and 0 if it's localized? No. Without the

RE: Hyperoperators and dimensional extension

2002-09-19 Thread Brent Dax
Dan Sugalski: # Sort of, yes. # # Basically the behaviour of hyper-operated operators is delegated via ^ Spending time in England lately? ;^) # multimethod dispatch to the hyper-operator functions. By default the Well, yeah. But that doesn't really answer my

RE: Hyperoperators and dimensional extension

2002-09-19 Thread Dan Sugalski
At 8:27 AM -0700 9/19/02, Brent Dax wrote: Dan Sugalski: # Sort of, yes. # # Basically the behaviour of hyper-operated operators is delegated via ^ Spending time in England lately? ;^) Why, yes, actually. :-P But I've been using Pompous English Spelling for years. #

Re: Perl 6 Summary for week ending 2002-09-15

2002-09-19 Thread Kay Röpke
On Wednesday, Sep 18, 2002, at 17:42 Europe/Berlin, Piers Cawley wrote: IMCC / Mac OS X problem Leon Brocard (yay! Still batting 100% on this one...) has been having problems building IMCC under Mac OS X. The individual .c files all compile, but bad things happen at link time.

Re: hotplug regexes, other misc regex questions

2002-09-19 Thread Josh Jore
On Wed, 18 Sep 2002, Luke Palmer wrote: On Wed, 18 Sep 2002, Josh Jore wrote: On Wed, 18 Sep 2002, Damian Conway wrote: What possible outputs are legal for this: aaa =~ /( a { print 1 } | a { print 2 })* { print \n } x/ I take it that what I've learned from

Re: Perl 6 Summary for week ending 2002-09-15

2002-09-19 Thread Leopold Toetsch
Kay Röpke wrote: On Wednesday, Sep 18, 2002, at 17:42 Europe/Berlin, Piers Cawley wrote: IMCC / Mac OS X problem Have those patches committed, yet? I tried last night (instead of sleeping...;-)) but failed utterly. No, sorry. I'm still waiting for my imcc 0.0.9 patch to be checked

Re: Passing arguments

2002-09-19 Thread Aaron Sherman
On Sat, 2002-09-14 at 04:16, Luke Palmer wrote: When a bare closure is defined, it behaves the same as a signatureless sub. That is, it topicalizes the first argument, and hands them all over in @_. So your topic passing is just, well, passing the topic, like any ol' argument. Ok,

RE: Passing arguments

2002-09-19 Thread Brent Dax
Aaron Sherman: # topicalize: To default to C$_ in a prototype (thus # acquiring the caller's current topic). Well, to topicalize a region of code is actually to specify a different topic, that is, a different value for $_. For example: $foo = new X; $bar = new Y;

Re: Perl 6 Summary for week ending 2002-09-15

2002-09-19 Thread Leopold Toetsch
Piers Cawley wrote: Happy birthday to me! Congratulations. ... by my turning 35 on the 15th 44 on 16th - yes Sept. and thanks for the kudos, leo

Regex query

2002-09-19 Thread Simon Cozens
Well, I've started my Perl 6 programming career already and I've got stuck. :) I'm trying to parse a Linux RAID table (/etc/raidtab), which looks a bit like this: raiddev /dev/md0 raid-level 5 option value option value

Re: Perl 6 Summary for week ending 2002-09-15

2002-09-19 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley wrote: Happy birthday to me! Congratulations. ... by my turning 35 on the 15th 44 on 16th - yes Sept. Congrats to you too. So, should I start maintaining a birthday database for the summaries? Probably not. -- Piers It