In IO::Spec::Unix§

See primary documentation in context for method rootdir

method rootdir(--> Str:D)

Returns string '/', representing root directory.

In IO::Spec::Win32§

See primary documentation in context for method rootdir

method rootdir(--> Str:D)

Returns string 「\」, representing root directory.