In IO::Spec::Unix§
See primary documentation in context for method catdir
method catdir (* --> Str)
Concatenates multiple path fragments and returns the canonical representation of the resultant path as a string. The @parts
are Str
objects and are allowed to contain path separators.
IO::Spec::Unix.catdir(<foo/bar ber raku>).say; # OUTPUT: «foo/bar/ber/raku»
In IO::Spec::Win32§
See primary documentation in context for method catdir
method catdir (* --> Str)
Concatenates multiple path fragments and returns the canonical representation of the resultant path as a string. The @parts
are Str
objects and are allowed to contain path separators.
IO::Spec::Win32.catdir(<foo/bar ber raku>).say;# OUTPUT: «foo\bar\ber\raku»
In IO::Spec::Cygwin§
See primary documentation in context for method catdir
method catdir (* --> Str)
Concatenates multiple path fragments and returns the canonical representation of the resultant path as a string. The @parts
are Str
objects and are allowed to contain path separators.
IO::Spec::Cygwin.catdir(<foo/bar ber raku>).say;# OUTPUT: «foo/bar/ber/raku»