Gov. Rick Perry has signed into law a measure that requires Texans to show photo identification before voting.