method package
1 | class Routine |
1.1 | (Routine) method package |
2 | class Attribute |
2.1 | (Attribute) method package |
3 | class X::Augment::NoSuchType |
3.1 | (X::Augment::NoSuchType) method package |
Documentation for method package
assembled from the following types:
class Routine
From Routine
(Routine) method package
method package(Routine:)
Returns the package in which the routine is defined.
class Attribute
From Attribute
(Attribute) method package
Defined as:
method package()
Returns the package (class/grammar/role) to which this attribute belongs.
my = Boo.^attributes(:local)[0];say .package; # OUTPUT: «(Boo)»
class X::Augment::NoSuchType
(X::Augment::NoSuchType) method package
Returns the name that was tried to augment, but which doesn't exist.