version 1.0401
[p5sagit/Function-Parameters.git] / t / foreign / MooseX-Method-Signatures / lib / Redefined.pm
CommitLineData
595edbcf 1package Redefined;
2use strict;
3use warnings;
4use Function::Parameters qw(:strict);
5use Carp qw/croak/;
6
7method meth1 {}
8
9method meth1 {}
10
11# this one should not trigger a redfined warning
12sub meth2 {}
13method meth2 {}
14
15# This one shouldn't either
16method meth3 {}
17{ no warnings 'redefine';
18 method meth3 {}
19}
201;