This sub-class of
IO::Path, pre-loaded with
IO::Spec::Unix in the
:$SPEC cannot be set and defaults to
IO::Spec::Unix, regardless of the operating system the code is being run on.
method raku(IO::Path::Unix: --> Str)
Returns a string that, when given passed through
EVAL gives the original invocant back.
IO::Path::Unix.new("foo/bar").raku.say;# OUTPUT: IO::Path::Unix.new("foo/bar", :CWD("/home/camelia"))
Note that this string includes the value of the
.CWD attribute that is set to
$*CWD when the path object was created, by default.