See Original text in context
method curdir()
Returns a string representing the current directory:
say '.' eq $*SPEC.curdir; # OUTPUT: «True»