Perfect? Biblically, perfect means complete, not lacking. Maybe you meant sinless? Perfect and sinless are two different things. Jesus was not born perfect. Throughout his life, he was being made perfect through his experiences.
Hebrews 5:
8 Though he were a Son, yet learned he obedience...