"I don't have a pen."
Why is the measure word 只 not being used here? As in 我没有一只笔.
It is not needed because quantity is not important. here. It is similar to I don't have money.
BTW the classifier for pens (or other long, rod shaped things) is 支 (Traditional 枝) or 根.