Skip to content

Commit

Permalink
perl5db: fix an accidental effect of strictures
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Fish authored and rjbs committed Sep 5, 2012
1 parent 9bcdb3d commit 32050a6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/perl5db.pl
Expand Up @@ -8666,8 +8666,11 @@ =head3 Scalar, array, and hash completion: partially qualified package
=cut

my @out = map "$prefix$_", grep /^\Q$text/, grep /^_?[a-zA-Z]/,
keys %$pack;
my @out = do {
no strict 'refs';
map "$prefix$_", grep /^\Q$text/, grep /^_?[a-zA-Z]/,
keys %$pack;
};

=pod
Expand Down

0 comments on commit 32050a6

Please sign in to comment.