in reply to Re: Death to Dot Deref
in thread Death to Dot Deref

Technically though, using -> for method calls is correct since all Perl objects are really just blessed references. In C or C++ if you access an attribute or call a method from a pointer/reference you do foo->bar as well.

So while "." may hide the reference structure from you, "->" is technically correct. Course that may not be applicable for Perl 6.