On Tue, Aug 16, 2005 at 03:03:39PM +0800, Yiyi Hu wrote:
>     $handle.close
>     close($handle)
>     close $handle:
>     close $handle
> 
> >From Synoposis, It's said that the last example( close $handle )
> should be valid.
> But in pugs, It isn't.
> 
> class TMP { method tmp { "Hello".say}; }; my TMP $t .= new;
> tmp $t;
> 
> So, I wonder, If perl 6 will allow "tmp $t;"

Hm, I think that's a case of a unimplemented special case.

I have just sent you a committer invitation; please write it up as a
test in t/syntax/ and commit the new test.

Thanks!
/Autrijus/

Attachment: pgpjhLsFOVaHL.pgp
Description: PGP signature

Reply via email to