Math::BigInt v1.87 take 6
[p5sagit/p5-mst-13.2.git] / lib / Attribute / Handlers.pm
index 35484be..6bd121b 100644 (file)
@@ -16,6 +16,7 @@ sub findsym {
        no strict 'refs';
         foreach my $sym ( values %{$pkg."::"} ) {
            use strict;
+           next unless ref ( \$sym ) eq 'GLOB';
             return $symcache{$pkg,$ref} = \$sym
                if *{$sym}{$type} && *{$sym}{$type} == $ref;
        }