dir-sep
ErrorsCollection

dir-sep

Synthesised documentation from type/IO/Spec/Win32 type/IO/Spec/Unix

From type/IO/Spec/Win32

See Original text in context

method dir-sep(--> Str:D)

Returns the string 「\」 representing canonical directory separator character.

IO::Spec::Win32.dir-sep.say# OUTPUT: «\␤» 

From type/IO/Spec/Unix

See Original text in context

method dir-sep(--> Str:D)

Returns the string "/" representing canonical directory separator character.

IO::Spec::Unix.dir-sep.say# OUTPUT: «/␤»