in reply to Re^2: Can't locate object method "new" via package ... perhaps you forgot to load...Oh yes I did!
in thread Can't locate object method "new" via package ... perhaps you forgot to load...Oh yes I did!

GrandFather gets the cigar - along with everyone else who told me that it couldn't be the same file. When I followed his advice and stopped trusting the IDE, and went back to the terminal, it was obvious. That explains why I wasn't seeing the compilation errors, even when I "asked for them."

I hunted down the files that were getting loaded, moved them to my working directory, and made sure the IDE was pointing to them. Now I'm getting lots of reassuring syntax errors.

My lesson: It's not true laziness to depend on the IDE. When in doubt, drop to the command line and make sure you really know whats going on.

Thanks Folks!

  • Comment on Re^3: Can't locate object method "new" via package ... perhaps you forgot to load...Oh yes I did!

Replies are listed 'Best First'.
Re^4: Can't locate object method "new" via package ... perhaps you forgot to load...Oh yes I did!
by GrandFather (Saint) on Jan 29, 2011 at 10:50 UTC

    I use Komodo all the time for Perl development under Windows. If I hover the cursor over a document tab it shows me the full path to the document. In a case like this that is a worth while sanity check!

    True laziness is hard work