in reply to Re: Perl6 dot syntax (for methods?)
in thread Perl6 dot syntax (for methods?)
Basically @array is an object (everything is an object).
Oh my, now I am getting even more confused...
(1, 5, 2, 4, 3).quicksort.say;
So, quicksort and say are methods of the array class? Or of the base object class? Because if they are not, I think the normal functional syntax is more appropriate. Especially if everything is (or can be treated as) an object, should we not be extra careful about what really is a method and what is not?
In Section
Seekers of Perl Wisdom