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/perl6-language@perl.org/msg02649.html

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to