David Storrs skribis 2005-06-19 13:45 (-0400):
> Seriously.  Are default invocants really such a good idea? 

Yes, as long as the default is $_.

./method doesn't use a default invocant. It calls method on the current
invocant, which happens to be available as $?SELF: that doesn't mean it
defaults to $?SELF. The term "default" is inappropriate if there is no
way to specify anything else: $object./method is still invalid syntax.

> All that said, I still agree with John... './' does not look like  
> method call syntax to me.

That's good, because it's different from all other method syntax anyway,
because it does not have any left hand side -- not even implied.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to