News for hackers. Stuff that matters.
Re:Be wary of functions which take several parameters of the... by xeeeeeeeeeeenu on Friday September 27, 2019 @08:55AM (#21091362)
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
Re:Be wary of functions which take several parameters of the... by kragen on Friday September 27, 2019 @10:09AM (#21092165)
Amusingly, this has the same ambiguity problem the original post was trying to solve!