Police believe the gunman chose the church at random.
The pastor, however, said if the gunman had entered the church later in the day, the bloodshed could have been worse with more members, including children, attending service.
"We don't know what's happening with this country when we have gotten to a point where we don't feel safe praying in a church. If this would have happened in a service where we would have had all of the children and more people, it would have been a massacre," Pastor Henry Alfaro told WLTX in Spanish and translated by the television station.
The gunman has not been identified, and police said he got away with a few wallets.
Still, despite the attack on his church, Alfaro is still praying for the man.
"The person who did this, what he needs is a change, in the path of his life and it's a change that only Jesus Christ can give. We're praying for him so God can help him," Alfaro told WLTX.
Perez was taken to a local hospital and underwent surgery, WACH reported.