say 'input.txt'.IO.s; say '/input.txt'.IO.s;
Cross-platform version of the second one:
say $*SPEC.rootdir.IO.child("input.txt").s;
Last updated 1 year ago