method volume

Documentation for method volume assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) method volume

Defined as:

method volume(IO::Path:D:)

Returns the volume portion of the path object. On Unix system, this is always the empty string.

say IO::Path::Win32.new("C:\\Windows\\registry.ini").volume;    # OUTPUT: «C:␤»