In Routine§
See primary documentation in context for method package
method package(Routine:)
Returns the package in which the routine is defined.
In Attribute§
See primary documentation in context for method package
method package()
Returns the package (class/grammar/role) to which this attribute belongs.
my = Boo.^attributes(:local)[0];say .package; # OUTPUT: «(Boo)»
In X::Augment::NoSuchType§
See primary documentation in context for method package
Returns the name that was tried to augment, but which doesn't exist.