fixed perl filtering
Robert 'phaylon' Sedlacek [Fri, 27 Jul 2012 20:06:30 +0000 (20:06 +0000)]
lib/System/Introspector/Probe/Perls.pm

index 354a941..bb8af72 100644 (file)
@@ -22,7 +22,8 @@ sub gather {
             my $info = transform_exceptions {
                 return $self->_gather_info($config);
             };
-            next if $info->{config}{sitelibexp}
+            next if $info
+                and $info->{config}{sitelibexp}
                 and $seen{$info->{config}{sitelibexp}}++;
             $found{$config} = $info
                 if defined $info;