projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
abe28e1
)
Add the script I've been using to munge tests to run against Moose
Shawn M Moore [Sun, 21 Dec 2008 22:54:08 +0000 (22:54 +0000)]
author/munge-tests-for-moose.pl
[new file with mode: 0755]
patch
|
blob
diff --git a/author/munge-tests-for-moose.pl
b/author/munge-tests-for-moose.pl
new file mode 100755
(executable)
index 0000000..
4bbfa36
--- /dev/null
+++ b/
author/munge-tests-for-moose.pl
@@ -0,0
+1,12
@@
+#!/usr/bin/env perl -pl
+use strict;
+use warnings;
+
+BEGIN {
+ @ARGV = glob('t/*.t t/*/*.t');
+ $^I = '';
+}
+
+s/Mouse/Moose/g;
+s/Moose::(load_class|is_class_loaded)/Class::MOP::$1/g;
+