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

2002-09-18 Thread Piers Cawley
Aaron Sherman <[EMAIL PROTECTED]> writes: > On Wed, 2002-09-18 at 11:42, Piers Cawley wrote: >> The Perl 6 Summary for the Week Ending 20020915 >> Happy birthday to me! > > Indeed! > > And thank you so much for this. You have a way of taking a tangled mess > of discussion that's even confusin

Re: hotplug regexes, other misc regex questions

2002-09-18 Thread Luke Palmer
On Wed, 18 Sep 2002, Josh Jore wrote: > On Wed, 18 Sep 2002, Damian Conway 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

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

2002-09-18 Thread Aaron Sherman
On Wed, 2002-09-18 at 11:42, Piers Cawley wrote: > The Perl 6 Summary for the Week Ending 20020915 > Happy birthday to me! Indeed! And thank you so much for this. You have a way of taking a tangled mess of discussion that's even confusing the participants and making it easy to digest (no pun

Re: hotplug regexes, other misc regex questions

2002-09-18 Thread Josh Jore
On Wed, 18 Sep 2002, Damian Conway 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 and 0 if it's localized? Or are lexic

Perl 6 Summary for week ending 2002-09-15

2002-09-18 Thread Piers Cawley
The Perl 6 Summary for the Week Ending 20020915 Happy birthday to me! Happy birthday to me! Happy birthday dear me! Happy birthday to me! And, with a single breech of copyright, Piers was free. The production of this summary was delayed by my turning 35 on the 15th an

Re: hotplug regexes, other misc regex questions

2002-09-18 Thread Damian Conway
Steve Fink wrote: > What should this do: > > my $x = "the letter x"; > print "yes" if $x =~ /the { $x .= "!" } .* !/; > > Does this print "yes"? If it's allowed at all, I think the match should succeed. > print "yes" if "helo" =~ /hel { .pos-- } lo/; This definitely has to work. But r

Re: Hyperoperators and dimensional extension

2002-09-18 Thread Dan Sugalski
At 12:04 AM -0700 9/18/02, Brent Dax wrote: >The Apocalypse on operators says that if one of the operands of a >hyperoperator is a scalar, then that scalar is (nominally) treated as an >array of copies of that scalar. In other words: > > my $foo=1; > my @bar=(2, 3, 4); > > my @b