Perrex is a commune .
Perrex is a commune in the Ain department in eastern France .