From: Shawn M Moore Date: Sun, 21 Dec 2008 22:54:08 +0000 (+0000) Subject: Add the script I've been using to munge tests to run against Moose X-Git-Tag: 0.19~102 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dc4a7abe0f3a5d40010ac7d47db415f14b3e7a47;p=gitmo%2FMouse.git Add the script I've been using to munge tests to run against Moose --- diff --git a/author/munge-tests-for-moose.pl b/author/munge-tests-for-moose.pl new file mode 100755 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; +