See Original text in context
method dir-sep(--> Str)
Returns the string 「\」
representing canonical directory separator character.
IO::Spec::Win32.dir-sep.say; # OUTPUT: «\»
See Original text in context
method dir-sep(--> Str)
Returns the string "/"
representing canonical directory separator character.
IO::Spec::Unix.dir-sep.say; # OUTPUT: «/»