The perfect permanent wave