No, the problem is that WidgetView.pm is not returning a true value. (as Perl correctly reported :-)
A file loaded with require (or equivalently, use) needs to return a true value. It's conventional to end the file with a line like:
1;
to guarantee this. Take a look in the file and make sure it has that.
| [reply] [d/l] [select] |
Have I told you all you folks just how much I appreciate everyone here.
Thanks again for 1: Helping for for 2: Straightening out my thinking process through pointing out what perl is reporting and not my own extrapolations.
It works fine now.
| [reply] |
It isn't saying it can't find it -- it's saying it didn't return a true value. Do you have the usual "1;" at the end of it? | [reply] |
Another quick silly question for you people. Now it is instantiating and working correctly except I am getting this at the end of the html page in the browswer.
Content-Type: text/html; charset=ISO-8859-1 1
Which displays the content type and the return value.
| [reply] |
Have you got an example of your code? I suspect that you're printing the header as with traditional CGI scripts. CGI::Application outputs the header for you.
| [reply] |