http://www.perlmonks.org?node_id=435052


in reply to Re^2: Perl6 dot syntax (for methods?)
in thread Perl6 dot syntax (for methods?)

So, quicksort and say are methods of the array class? Or of the base object class?

I think both of them are methods of the array abstract base class. I mean, similar semantics and syntax is pretty common, and very familiar in other scripting languages. At least, Python does this:

>>> q=[2,3] >>> p=[1,q,3] >>> p[1].append('xtra') >>> p [1, [2, 3, 'xtra'], 3]

rg0now