It seems like in most mainstream programming languages, returning multiple values from a function is an extremely awkward thing.
The typical soluti
Nobody seems to have mentioned Perl yet.
sub myfunc { return 1, 2; } my($val1, $val2) = myfunc();