In CompUnit§

See primary documentation in context for method short-name

method short-name(--> Str:D)

Returns The short name with which the CompUnit object was created (if any).