Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better regex here

  • Loading branch information...
commit 287563c99fd663d619916b60b24ebb60bf08591d 1 parent 8db951a
@doy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/circular/require.pm
View
2  lib/circular/require.pm
@@ -116,7 +116,7 @@ sub unimport {
@hide = ref($params{'-hide'}) ? @{ $params{'-hide'} } : ($params{'-hide'})
if exists $params{'-hide'};
- @hide = map { /\.pm/ ? $_ : _mod2pm($_) } @hide;
+ @hide = map { /\.pm$/ ? $_ : _mod2pm($_) } @hide;
my $stash = Package::Stash->new('CORE::GLOBAL');
my $old_require = $stash->get_package_symbol('&require');
Please sign in to comment.
Something went wrong with that request. Please try again.