Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Phemto (Acolyte)
on Jan 29, 2011 at 10:39 UTC ( [id://885012]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://885012]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-18 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found