A 5.8 magnitude earthquake struck southern Peru, injuring 27 people and damaging some buildings. Officials report no deaths.