class IO::Path::QNX
Error ReportCollection examples

IO::Path pre-loaded with IO::Spec::QNX

class IO::Path::QNX is IO::Path { }

This sub-class of IO::Path, pre-loaded with IO::Spec::QNX in the $.SPEC attribute.


method new

Same as IO::Path.new, except :$SPEC cannot be set and defaults to IO::Spec::QNX, regardless of the operating system the code is being run on.

method raku

Defined as:

method raku(IO::Path::QNX:D: --> Str:D)

Returns a string that, when given passed through EVAL gives the original invocant back.

# OUTPUT: IO::Path::QNX.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.