</snip>
-----Original Message-----
From: Jonathan Scott Duff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 1:06 PM
To: David L. Nicol
Cc: Nathan Torkington; [EMAIL PROTECTED]
Subject: Re: PROTOPROPOSAL FOR NEW BACKSLASH is still Re: implied
pascal-like"with" or "express"
[...]
How special purpose is "with"?  Do people envision using it *only* on
hashes?  (I did until this email)  If so, I like Damian's version best:

http://www.mail-archive.com/perl6-language@perl.org/msg02649.html
</snip>

Just to see if I have that right...

1:      use strict;
2:      my %foo;
3:      with (%foo) {
4:              first => 10,
5:              second => ^first - 5
6:      }

replaces:

1:      use strict;
2:      my %foo = ( first => 10);
3:      $foo{second} = $foo{first} - 5;

-Corwin

Reply via email to