Perl has something similar to that. And strange as it is,
it has the same syntax. Would you believe it is because they
copied it from another well known language? Like all operators, it's documented in man perlop. It's
listed as ?:, and discussed under the name
conditional operator.