On Dec 28, 2004, at 3:44 PM, Stas Bekman wrote:

Sean Davis wrote:
On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote:
On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote:

I am having trouble with Apache::Cookie. I keep getting errors like:
Can't locate object "new" via package "Apache::Cookie"....
The code looks like:


Checking the obvious, do you have a "use Apache::Cookie" before:
Thanks for checking, but yes.

Did you run 'make test' when installing this package?

If you did and it passed OK, look at
t/apreq/cookie.t and t/response/TestApReq/cookie.pm and see what's missing from your code.

I have to admit that it took me a bit to realize what I had missed here, even with the hint! Therefore, for the other person a year from now that makes my mistake, try using Apache::Test!


If you didn't, run the test suite first :)

Thanks. (And I had run the test suite, but hadn't gotten the hint!)

Sean


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to