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!
I wasn't trying to hint anything :) You mean you were trying to use Apache::Cookie outside modperl when you had this error or what? I don't understand how Apache-Test becomes your solution (other than making your code run under modperl).
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- 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