projects
/
gitmo/Mouse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
do not create a copy of argument, if not needed
[gitmo/Mouse.git]
/
author
/
munge-tests-for-moose.pl
1
#!/usr/bin/env perl -pl
2
use strict;
3
use warnings;
4
5
BEGIN {
6
@ARGV = glob('t/*.t t/*/*.t') if !@ARGV;
7
$^I = '';
8
}
9
10
next if $ARGV =~ /squirrel/i; # Squirrel tests are for both Moose and Mouse
11
12
s/Mouse(?!::Tiny)/Moose/g;
13
14
s/Moose::(load_class|is_class_loaded)/Class::MOP::$1/g;
15