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 TestUtil.pm
Date Tue, 29 Apr 2003 08:04:06 GMT
stas        2003/04/29 01:04:05

  Modified:    perl-framework/Apache-Test/lib/Apache TestUtil.pm
  Log:
  5.005's Data::Dumper has problems to dump certain datastructures, so don't
  use it
  
  Revision  Changes    Path
  1.31      +2 -1      httpd-test/perl-framework/Apache-Test/lib/Apache/TestUtil.pm
  
  Index: TestUtil.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestUtil.pm,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- TestUtil.pm	22 Apr 2003 00:30:18 -0000	1.30
  +++ TestUtil.pm	29 Apr 2003 08:04:04 -0000	1.31
  @@ -30,7 +30,8 @@
   
   %CLEAN = ();
   
  -use constant HAS_DUMPER => eval { require Data::Dumper; };
  +# 5.005's Data::Dumper has problems to dump certain datastructures
  +use constant HAS_DUMPER => eval { $] >= 5.6 && require Data::Dumper; };
   use constant INDENT     => 4;
   
   sub t_cmp {
  
  
  

Mime
View raw message