Perry grew up in Eddyville, Kentucky and attended Lyon County High School.[1] He began playing for Lyon County's varsity basketball team while he was in the seventh grade.[2] Perry was named Kentucky Mr. Basketball after averaging 32.2 points, 6.2 rebounds, 5.8 assists, and 4.7 steals per game as a senior.[3] He was also named the MVP of the KHSAA Sweet Sixteen after scoring 27 points in Lyon County's 67–58 win over Harlan County High School in the state championship game.[4] Perry finished his high school career with a state-record 5,381 career points.[5]
Perry was rated a consensus four-star recruit and committed to play college basketball at Kentucky over offers from Alabama, Cincinnati, Ole Miss, and Western Kentucky.[6] He signed a National Letter of Intent (NLI) to play for the Wildcats on November 15, 2023, during the early signing period.[7] Perry later reaffirmed his commitment to Kentucky after head coach John Calipari left the program to become the head coach at Arkansas.[8]