Permalink
Browse files

better regex here

  • Loading branch information...
doy committed Jan 6, 2012
1 parent 8db951a commit 287563c99fd663d619916b60b24ebb60bf08591d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/circular/require.pm
View
@@ -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');

0 comments on commit 287563c

Please sign in to comment.