In IO::Path§
See primary documentation in context for method SPEC
method SPEC(IO::Path: --> IO::Spec)
Returns the IO::Spec object that was (implicitly) specified at object creation time.
my = IO::Path.new("/bin/bash");say .SPEC; # OUTPUT: «(Unix)»say .SPEC.dir-sep; # OUTPUT: «/»