You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by clayton cottingham <dr...@smartt.com> on 2001/10/04 20:08:25 UTC

having probs setting @inc under Apache-test

heya

i cant seem to get the lib 's set properly

ive followed the direction in the docs to a tee

im not sure if its my config or somethihg wrong in docs

if anyone has time
lemme know and ill 
send you the files


also is it Apache::Const or Constant?

i could find former on cpan
and latter spits out -compile not exported


the only way i can seem to run the test is to install the module first!!

Re: having probs setting @inc under Apache-test

Posted by Stas Bekman <st...@stason.org>.
clayton cottingham wrote:

> heya
> 
> i cant seem to get the lib 's set properly


right, The example I've used is for the project that resides under the 
same tree as Apache-Test, so you've to set up your @INC.

But in reallity, before you start writing your code that uses 
Apache::Test, you have to install it. i.e. make install in Apache-Test dir.



> also is it Apache::Const or Constant?
> 
> i could find former on cpan
> and latter spits out -compile not exported
 

That's a part of mod_perl 2.0. Just use the old way you've used so far 
for 1.x.

 
> the only way i can seem to run the test is to install the module first!!

Yup, you got it right. I'll fix the docs.


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/