Documentation for method updir assembled from the following pages:

Class: IO::Spec::Unix §

From IO::Spec::Unix

(IO::Spec::Unix) method updir §

Defined as:

method updir()

Returns a string representing the directory one up from current:

say '..' eq $*SPEC.updir# OUTPUT: «True␤»