Carl Brewer wrote:
Stas Bekman wrote:



So the offending line is:


 $string .= Apache::Test::install::nuke_Apache__test_target()
         if APACHE_TEST_INSTALL();

You lost the actual constant that it was complaining about ;) I should have looked closer.

Any change if you replace it with:

if (APACHE_TEST_INSTALL()) {
   $string .= Apache::Test::install::nuke_Apache__test_target();
}


Nope, same error.

OK, what happens if you replace that line with:


print APACHE_TEST_INSTALL ? "APACHE_TEST_INSTALL" : "NOT APACHE_TEST_INSTALL";
$string .= Apache::Test::install::nuke_Apache__test_target();

does it complain about the print line, or the $string one?

Also what happens if you change

BEGIN {
    use constant APACHE_TEST_INSTALL => -e 'Apache-Test';
    use lib './Apache-Test';
    require 'install-pl' if APACHE_TEST_INSTALL;
}

to:

BEGIN {
    use constant APACHE_TEST_INSTALL => -e 'Apache-Test';
    use lib './Apache-Test';
    if (APACHE_TEST_INSTALL) {
      warn "loading install-pl';
      require 'install-pl';
    }
}

does it print "loading install-pl"?

Finally try replacing:

 require 'install-pl';
with
 require './install-pl';


__________________________________________________________________ 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


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to