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 11 months ago