--- inc/Module/Install.pm.orig 2005-12-26 16:21:34 UTC +++ inc/Module/Install.pm @@ -81,7 +81,7 @@ sub preload { my %seen_method; foreach my $obj (@exts) { while (my ($method, $glob) = each %{ref($obj) . '::'}) { - next unless defined *{$glob}{CODE}; + next unless exists &{ref($obj).'::'.$method}; next if $method =~ /^_/; next if $method eq uc($method); $seen_method{$method}++;