Skip to content

Commit

Permalink
fix missing curly brace
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieb9 committed Jan 14, 2016
1 parent 17db14a commit a057951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Devel/Examine/Subs.pm
Expand Up @@ -326,8 +326,9 @@ sub add_functionality {

my $existing_subs = $des->all;

if (grep { $sub_name eq $_ } @$existing_subs){
if (grep { $sub_name eq $_ } @$existing_subs) {
croak "the sub you're trying to add already exists";
}

$des = Devel::Examine::Subs->new(
file => $file,
Expand Down

0 comments on commit a057951

Please sign in to comment.