This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #48355] Handling of RAWDATA broken badly in Attribute::Handlers in perl 5.10...
[perl5.git] / lib / DB.t
index e6fef9b..f665291 100644 (file)
--- a/lib/DB.t
+++ b/lib/DB.t
@@ -3,6 +3,11 @@
 BEGIN {
         chdir 't' if -d 't';
         @INC = '../lib';
+       require Config;
+       if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+               print "1..0 # Skip -- Perl configured without List::Util module\n";
+               exit 0;
+       }
 }
 
 # symbolic references used later