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;

While there's certainly motivation to wrap this up in a function or
operator, it doesn't strike me as something particularly difficult, or
necessarily more worthy of inclusion in Perl 6.0.0 than anything else.

-- 
Aaron Crane

Reply via email to