On Monday 03 September 2001 01:06 pm, Davíð Helgason wrote:

> We will be adding 'try' & 'catch'. 'finally' also? (or 'finalize' :-)

I've not heard anything definite on this.

>
> >16. [ LABEL: ] when expr : { block }                   # Note 5
> >
> >[Note 5. 'when' is only a valid construct when directly within a 'given'
> >   construct.]
>
> Someone talked about given(expr) getting to be the same as for $_ (scalar
> expr). (Couldn't find that mail in my mailbox, wierd?). Perhaps with an
> added check that expr is actually a reference (though I can't really see
> why, unless for a bit of good old B&D).

If I understand you correctly, the discussion was that the expression in 
'given ( expr )' will be evaluated in scalar context.

> >
> >21. sub identifier [ ( prototype ) ] [ :properties ] { block }
> >22. sub [ ( prototype ) ] { block }                    # Note 7
>
> Is it on purpose that coderefs can't have properties? This goes back to
> variable/value properties. I never liked value properties very much, but
> while it seems that ':inline' and ':multi' don't make a lot of sense here,
> ':memoized' does.

Yes, it does make sense to have properties there.  I omitted them because I 
couldn't think of any.  I haven't seen any decision to the contrary, so I 
may add them back in.  (The may not do anything, but they'll be there.  Much 
like the prototypes for it.)

>
> So we should have:
>     22. sub [ ( prototype ) ] [ :value_properties ] { block }
>     22. sub [ ( prototype ) ] { block } [ :value_properties ]  # Or
> better?

The first, as it's more consistent with # 21.  


-- 
Bryan C. Warnock
[EMAIL PROTECTED]

Reply via email to