Peru got a 7-6 (2-1) win at home, in a game that went to penalties, in the Copa America quarter-final against Paraguay.