diff options
Diffstat (limited to 'gnu/usr.bin/perl/lib/overload.t')
-rw-r--r-- | gnu/usr.bin/perl/lib/overload.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/lib/overload.t b/gnu/usr.bin/perl/lib/overload.t index 3490b5bf6a4..f743a822116 100644 --- a/gnu/usr.bin/perl/lib/overload.t +++ b/gnu/usr.bin/perl/lib/overload.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; + } } package Oscalar; |