4 require Config; import Config;
5 if ($Config{extensions} !~ /\bList\/Util\b/) {
6 print "1..0 # Skip: List::Util was not built\n";
11 use Scalar::Util qw(blessed);
12 use vars qw($t $y $x);
16 print "not " if blessed(1);
19 print "not " if blessed('A');
22 print "not " if blessed({});
25 print "not " if blessed([]);
30 print "not " if blessed($y);
35 print "not " unless blessed($x);
38 print "not " unless blessed($x) eq 'ABC';