method relative
1 | class IO::Path |
1.1 | (IO::Path) method relative |
Documentation for method relative
assembled from the following types:
class IO::Path
From IO::Path
(IO::Path) method relative
Defined as:
method relative(IO::Path: = --> Str)
Returns a new Str
object with the path relative to the $base
. If $base
is not provided, $*CWD
is used in its place. If the invocant is not an absolute path, it's first made to be absolute using the .CWD
attribute the object was created with, and then is made relative to $base
.