What sensor should I use to detect object going through a hole?

Here comes the 9 cent solution, well closer anyway. Inductive pickup from hall sensor or something like a simple metal detector using coils of wire. When money is no object, then use RFID.