Perry wrote “Waking Up in Vegas,” in 2003 with Andreas Carlsson, the Cheironite, working with super songwriter-producer Desmond Child. When the songwriters met with the artist for the first time, Child asked why her music sounded so serious, when her personality was so fun and bubbly. Carlsson recalled saying, “ ‘You have all this humor, and you’re a little bit crazy,’ and that’s when we started writing.” But their song wouldn’t make it onto a record for five more years.

