Yes, according to orthodox Christian theology, the Bible is perfect, as Jesus is perfect. Jesus is both fully God and fully man. The Bible's origin is both fully divine and fully human. The Bible does not TEACH error; in this sense it is "perfect". But the Bible expresses divine truth in fallible, human, culturally limited language. In our cultural context, some of these expressions and assumptions may seem to be "wrong". But they are not being TAUGHT; they are just the cultural backdrop through which God revealed theological truth.
Sounds a lot like the saying the bible is never wrong except when it is wrong.