Documentation for method curupdir

Documentation for method curupdir, assembled from the following types:

class IO::Spec::Unix

From IO::Spec::Unix

(IO::Spec::Unix) method curupdir

Defined as:

method curupdir()

Returns a none Junction of strings representing the current directory and the "one directory up":

    my @dirs = <. foo .. bar>;
    say @dirs.grep(* eq $*SPEC.curupdir); # OUTPUT: «(foo bar)␤»