In Metamodel::Primitives§
See primary documentation in context for method install method cache
method install_method_cache( Mu $type, %cache, :$authoritative = True)
Installs a method cache, that is, a mapping from method names to code objects. If :authoritative
is missing, or set to True
, then calls of methods that do not exist in the cache will throw an exception of type X::Method::NotFound
. If :authoritative
is set to False
, the usual fallback mechanism are tried.