diff options
Diffstat (limited to 'ext/B/B.pm')
-rw-r--r-- | ext/B/B.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/B.pm b/ext/B/B.pm index 8fd3baf664..f864883b99 100644 --- a/ext/B/B.pm +++ b/ext/B/B.pm @@ -188,7 +188,7 @@ sub walksymtable { local(*glob); $prefix = '' unless defined $prefix; while (($sym, $ref) = each %$symref) { - *glob = $ref; + *glob = "*main::".$prefix.$sym; if ($sym =~ /::$/) { $sym = $prefix . $sym; if ($sym ne "main::" && &$recurse($sym)) { |