projects
/
gitmo/MRO-Compat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
more tests, fixed is_universal
[gitmo/MRO-Compat.git]
/
lib
/
MRO
/
Compat.pm
diff --git
a/lib/MRO/Compat.pm
b/lib/MRO/Compat.pm
index
b75a855
..
2607e81
100644
(file)
--- a/
lib/MRO/Compat.pm
+++ b/
lib/MRO/Compat.pm
@@
-274,7
+274,7
@@
sub __is_universal {
my $classname = shift;
die "mro::is_universal requires a classname" if !$classname;
- my $lin = __get_linear_isa($classname);
+ my $lin = __get_linear_isa('UNIVERSAL');
foreach (@$lin) {
return 1 if $classname eq $_;
}