Documentation for routine parent

Documentation for routine parent, assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) method parent

method parent(IO::Path:D: --> IO::Path)

Removes the last portion of the path and returns the result as a new IO::Path.

my $io ="/etc/passwd" );
say $io.parent;                          # OUTPUT: «"/etc".IO␤» 

class X::Inheritance::Unsupported

From X::Inheritance::Unsupported

(X::Inheritance::Unsupported) method parent

The type object that the child tried to inherit from.