Skip Menu |

This queue is for tickets about the MOP4Import-Declare CPAN distribution.

Report information
The Basics
Id: 124255
Status: new
Priority: 0/
Queue: MOP4Import-Declare

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Compatibility with CV-in-stash optimisation
See attached patch. In bleadperl, stash entries can now contain sub refs.
Subject: open_MuZtwCqA.txt
diff -rup MOP4Import-Declare-0.004-0-orig/Util.pm MOP4Import-Declare-0.004-0/Util.pm --- MOP4Import-Declare-0.004-0-orig/Util.pm 2018-01-28 18:16:36.000000000 -0800 +++ MOP4Import-Declare-0.004-0/Util.pm 2018-01-28 18:16:42.000000000 -0800 @@ -154,7 +154,8 @@ sub function_names { my $symtab = *{globref($packname, '')}{HASH}; my @result; foreach my $name (sort keys %$symtab) { - next unless *{$symtab->{$name}}{CODE}; + next unless + ref $symtab->{$name} eq "CODE" || $*{$symtab->{$name}}{CODE}; next unless $name =~ $pattern; next if $except and $name =~ $except; push @result, $name;