When I use the eraser tool all it does is distort the line instead of erasing it. What am I missing?
you are not erasing a line - you are erasing a rectangle with an outline and no fill - so what you see as you erase is the outline moving to stay with the new edge of the partly erased rectangle

I would do it like egg...