in reply to Can't locate object method 'new' ??
Does the name of your module file contain a suffix of ".pm"?
When you look in your INC directories that are specified in the error message, does testModule.pm exist?
Steve
Update: if your module is a true module, and only contains a single package, then (IIRC) it shouldn't have the shebang line. Instead, the package declaration should be the first line in the file.
|
|---|