Answer the question
In order to leave comments, you need to log in
Does it exist and what is called if there is a generic method in Perl6?
Somewhere I saw information that in Perl6 you can describe a method that will be called if the object does not have such a method.
That is, if I call $a.foo, but the class that $a belongs to does not have a foo method, then this method will be called.
Was it like that or did it seem to me?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question