$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;"
Thanks,
Xinming
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/
Fixed as r6286. Please still commit the test, and add your
(ideographic?) name to AUTHORS.
Thanks,
/Autrijus/