Re: PROTOPROPOSAL FOR NEW BACKSLASH is still Re: implied pascal-like"with" or "express"
[email protected] (Jonathan Scott Duff)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 23, 2000 at 12:45:06PM -0500, David L. Nicol wrote:
> with %container {
> ->$fieldname = $value;
> ${->destinationvaluename} = ->value_to_put_there
> }
Then I'd've expected that to have been:
with \%container {
->{$fieldname} = $value;
${->{destinationvaluename} = ->{value_to_put_there};
}
And that's just too much punctuation for too little value.
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/[email protected]/msg02649.html
-Scott
--
Jonathan Scott Duff
[email protected]