projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0ebb4f0
)
Fix for find_version() in Module::CoreList.
Chris Williams [Thu, 22 Apr 2010 11:51:50 +0000 (12:51 +0100)]
dist/Module-CoreList/lib/Module/CoreList.pm
patch
|
blob
|
blame
|
history
diff --git
a/dist/Module-CoreList/lib/Module/CoreList.pm
b/dist/Module-CoreList/lib/Module/CoreList.pm
index
911e9d6
..
64d0a9b
100644
(file)
--- a/
dist/Module-CoreList/lib/Module/CoreList.pm
+++ b/
dist/Module-CoreList/lib/Module/CoreList.pm
@@
-140,9
+140,8
@@
sub find_modules {
}
sub find_version {
- my $class = shift;
- $class = shift if $class->isa(__PACKAGE__);
my $v = shift;
+ $v = shift if $v->isa(__PACKAGE__);
return $version{$v} if defined $version{$v};
return undef;
}