Perez pleads guilty to DWI, grand larceny