Add Moose::Deprecated, and clean up use of deprecated features in tests
[gitmo/Moose.git] / t / lib / MyExporter.pm
index 78836e0..a2bc67f 100644 (file)
@@ -5,8 +5,8 @@ use Moose::Exporter;
 use Test::More;
 
 Moose::Exporter->setup_import_methods(
-    with_caller => [ qw(with_prototype) ],
-    as_is       => [ qw(as_is_prototype) ],
+    with_meta => [qw(with_prototype)],
+    as_is     => [qw(as_is_prototype)],
 );
 
 sub with_prototype (&) {
@@ -21,4 +21,4 @@ sub as_is_prototype (&) {
     $code->();
 }
 
-1;
\ No newline at end of file
+1;