Not sure what you mean, but ternaries are right-associative in Perl just like most other languages. PHP is the odd one out.
Except when they're not.
And when is that? The docs just say it's right associative[1]. And while it's been a long time since I've written any nontrivial Perl, I don't remember ever having ?: be left associative.