Re: request new Mapping|Hash operators

2007-03-18 Thread Aaron Crane
David Green writes: > In the meantime, Darren's proposal still raises a lot of interesting > language questions. For example, how *do* you rename a hash key? That's easy even in Perl 5. This modifies %hash in-place: my @values = delete @[EMAIL PROTECTED]; @[EMAIL PROTECTED] = @values; Whil

Re: Synopsis 26

2007-03-18 Thread Thom Boyer
I never could find the Pod-to-XHTML'd version of S26 -- the document attached to that email was S26.pod6, not S26.xhtml. I don't want to bug Damian, because obviously he has enough of life "happening", as it were. But is the XHTML'd version of S26 available anywhere? I haven't been able to fin

Re: request new Mapping|Hash operators

2007-03-18 Thread Darren Duncan
On Sun, 18 Mar 2007, Aaron Crane wrote: > David Green writes: > > In the meantime, Darren's proposal still raises a lot of interesting > > language questions. For example, how *do* you rename a hash key? > > That's easy even in Perl 5. This modifies %hash in-place: > > my @values = delete @[E

Re: request new Mapping|Hash operators

2007-03-18 Thread Uri Guttman
> "AC" == Aaron Crane <[EMAIL PROTECTED]> writes: AC> That's easy even in Perl 5. This modifies %hash in-place: AC> my @values = AC> @[EMAIL PROTECTED] = @values; you can even do: @[EMAIL PROTECTED] = delete @[EMAIL PROTECTED]; and i am sure a simple p6 thing can be wri

Re: request new Mapping|Hash operators

2007-03-18 Thread Darren Duncan
On Sun, 18 Mar 2007, Uri Guttman wrote: > as for rename on hash keys, why not call it rekey? also even if it is > called rename as a hash method it is different than rename as a function > to rename a file so there is no ambiguity. The name "rekey" or some such sounds like a reasonable name, and i

Re: Synopsis 26

2007-03-18 Thread jerry gay
On 3/18/07, Thom Boyer <[EMAIL PROTECTED]> wrote: I never could find the Pod-to-XHTML'd version of S26 -- the document attached to that email was S26.pod6, not S26.xhtml. I don't want to bug Damian, because obviously he has enough of life "happening", as it were. But is the XHTML'd version of S2