Skip to content

Commit

Permalink
Typo in use of Devel::Symdump::functions
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Oct 10, 2016
1 parent e2e1c84 commit 5423a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Symbol/Approx/Sub.pm
Expand Up @@ -361,7 +361,7 @@ sub _make_AUTOLOAD {
my $sym = Devel::Symdump->new($pkg);
@orig = @subs = grep { ! $_BARRED{$_} }
map { s/${pkg}:://; $_ }
grep { defined &{$_} } $sym->functions($pkg);
grep { defined &{$_} } $sym->functions();

unshift @subs, $sub;

Expand Down

0 comments on commit 5423a3a

Please sign in to comment.