Veterans are already smirking because they know what the problem is. Twenty minutes afterwards, I did too. Turns out that the line
package my_module;
had been changed to
Package my_module;
by vi. It turns out that in the version I have, if I am in vi mode mode and press page down, it capitilises the letter under the cursor and then switches to ex mode so that the next page down starts moving me down pages. I'm so disgusted I'm tempted to go and learn Emacs right now, but I'll leave it 'till the morning in case I change my mind :)
Of course I didn't notice the capital letter on 'Package' in the error message because I had never had the error 'Cannot locate object method "package"... ' either.
And people wonder why computer programmers are all pedants...
____________________
Jeremy
I didn't believe in evil until I dated it.
|
|---|