projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
668f695
)
Fix tool/create-moose-compatibility-tests.pl to replace class_of()
gfx [Sat, 13 Feb 2010 05:57:26 +0000 (14:57 +0900)]
tool/create-moose-compatibility-tests.pl
patch
|
blob
|
blame
|
history
diff --git
a/tool/create-moose-compatibility-tests.pl
b/tool/create-moose-compatibility-tests.pl
index
4b8d49e
..
122d9fe
100644
(file)
--- a/
tool/create-moose-compatibility-tests.pl
+++ b/
tool/create-moose-compatibility-tests.pl
@@
-66,6
+66,7
@@
File::Find::find(
};
$src =~ s/Mouse::(?:Util::)?is_class_loaded/Class::MOP::is_class_loaded/g;
$src =~ s/Mouse::(?:Util::)?load_class/Class::MOP::load_class/g;
+ $src =~ s/Mouse:::Util::class_of/Class::MOP::class_of/g;
$src =~ s/Mouse/Moose/g;
$src;
};