This comment sounds like you've never worked on any program larger than few
hundreds lines.
All three languages implement the same programming paradigm and neither of
them enforce (or even suggests) any structure whatsoever, so you easily end up
with the same mess/spaghetti, no matter the language.
Of course Perl adds some idioms of its own on top of it, but (a) not that many
as most people like to attribute to Perl, (b) most of the idioms are syntax
sugar, and (c) most of the mess comes from program structure, not from
superficial things like syntax.