Q&A > object-oriented programming > Why is it said that Perl does not implement true object orientation? contributed by Anonymous Monk
Object Orientation is implemented in a language
for two reasons: reduce code clutter and catch
programmer errors. In the first sense, Perl's
OO works fine. In the second, core Perl lacks
compile-time object type checks. Think of this
as "strict" for checking argument types and
return types, before the program even runs. Java
and C++ do this. It is both handy and cumbersome.
Forcing it on the programmer leads to large
extentions to the language (C++ templates)
or else hacks to bypass it (the Java Vector
only stores objects of type "Object", meaning
any object, which throws away all type information). Rest assured, Perl 6's spec
makes it available - optionally.