3 ms·
That's how Perl's Path::Tiny[1] works, for example: path("/tmp/foo.txt")->copy("/tmp/bar.txt"); [1] - https://metacpan.org/pod/Path::Tiny https://metacpan.o
by xeeeeeeeeeeenu 7y ago
That's how Perl's Path::Tiny[1] works, for example:
path("/tmp/foo.txt")->copy("/tmp/bar.txt");
[1] - https://metacpan.org/pod/Path::Tiny https://metacpan.org/pod/Path::Tiny
- kragen 7y agoAmusingly, this has the same ambiguity problem the original post was trying to solve!