In IO::Path§
See primary documentation in context for method absolute.
multi method absolute(IO::Path:D: --> Str) multi method absolute(IO::Path:D: $base --> Str)
Returns a new Str object that is an absolute path. If the invocant is not already an absolute path, it is first made absolute using $base as base, if it is provided, or the .CWD attribute the object was created with if it is not.