httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Mon, 10 Dec 2001 05:31:39 GMT
stas        01/12/09 21:31:39

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  - yet another @INC setting tweak, to make sure that Apache-Test/lib will
  come before blib to make it easier to develop Apache::Test framework
  
  Revision  Changes    Path
  1.92      +4 -6      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- TestConfig.pm	2001/12/07 02:34:53	1.91
  +++ TestConfig.pm	2001/12/10 05:31:39	1.92
  @@ -1109,13 +1109,11 @@
   sub add_inc {
       my $self = shift;
       require lib;
  -    # make sure that the ./Apache::Test dev libs will be first, followed
  -    # by modperl ./lib, followed by ./blib and finally core Perl libs.
  -    my @libs = map { "$_/Apache-Test/lib" } qw(. ..);
  -    lib::->unimport(@libs);
  +    # make sure that the Apache-Test dev libs will be first in @INC,
  +    # followed by modperl's lib, followed by blib and finally core
  +    # Perl libs.
       lib::->import(map "$self->{vars}->{top_dir}/$_",
  -                  qw(lib blib/lib blib/arch));
  -    lib::->import(@libs);
  +                  qw(Apache-Test/lib lib blib/lib blib/arch));
       #print join "\n", "add_inc", @INC, "";
   }
   
  
  
  

Mime
View raw message