Documentation for method child

Documentation for method child, assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) method child

Defined as:

method child(IO::Path:D: Str() $childname --> IO::Path:D)

Alias for .add. NOTE: .child will be switched to secure version around 6.d release time, which will fail() with non-child paths and is also slower, since it has to do more work. Use .add if your code does not need to guarantee the added path is in fact a child path.