rework keyword properties; add 'defaults', 'strict'
[p5sagit/Function-Parameters.git] / t / checkered_2.t
index cc46171..887ebe2 100644 (file)
@@ -7,15 +7,13 @@ use strict;
 
 use Function::Parameters {
        method => {
-               check_argument_count => 1,
-               shift => '$self',
-               attributes => ':method',
+               defaults => 'method',
+               strict => 1,
        },
 
        cathod => {
-               check_argument_count => 0,
-               shift => '$self',
-               attrs => ':method',
+               defaults => 'method',
+               strict => 0,
        },
 
        fun => 'function',