On Sun, 7 Jul 2002, Bill Atkins wrote:

> 1.  Perl6 should include a "has" and "have" keyword to set properties 
> more clearly:

Already been over this. Answer was no for some reason.

> my $var has Found;

See, then you need a direct object. I<What> is it that C<$var has found>? :)

(sortof) Seriously, we need a better property than "Found."  What is 
"Found" supposed to do?  Since properties will be adjectives, we'll say 
Blue.  Or Active. Or True. Or Running.  Run these through your examples 
and you'll see that the current syntax makes sense.  We just have to name 
properties so that it does.

> Similarly:
> 
> my @list have Found
> 
> I guess "have" sounds weird (all you base are belong to us ;) ) and may 
> not be necessary.
> 
> 2.  Perl6 definitely should include an "are" keyword as a synonym 
> for "is."  I know this was discussed earlier, but I'm not sure what the 
> outcome was.

I'm not sure

        my @list are Found

reads very well either.  Even though the @list contains multiple things, 
the @list itself is only one thing. I<is> works well here.  Of course, if 
properties hyper, then it could be useful.

        my ($trees, $grass) ^are Green

Of course that ^are, or even ^is is a little far fetched.  But Larry 
mentioned ^new as a possibility, which means any method name (or 
not, depending on Apocalypse 12), so you never know.

> 3.  Since Perl is so widely used for CGI scripting, it should have an 
> OPTIONAL PHP-like output system:

What, Mason's not good enough?

Luke

Reply via email to