7 Moose::Exporter->setup_import_methods(
8 with_meta => [qw(with_prototype)],
9 as_is => [qw(as_is_prototype)],
12 sub with_prototype (&) {
13 my ($class, $code) = @_;
14 isa_ok($code, 'CODE', 'with_prototype received a coderef');
18 sub as_is_prototype (&) {
20 isa_ok($code, 'CODE', 'as_is_prototype received a coderef');