| 6 |
1 |
| our $rschema = ["array",[{elems=>[["sah::type_name",{req=>1}],["sah::clause_set",{}]],examples=>[{summary=>"Not array",valid=>0,value=>"int"},{summary=>"Not array",valid=>0,value=>"int*"},{summary=>"Lacks type name and clause set",valid=>0,value=>[]},{summary=>"Lacks clause set",valid=>0,value=>["int"]},{valid=>1,value=>["int",{}]},{valid=>1,value=>["int",{max=>1,min=>1}]},{summary=>"This schema no longer accepts extras",valid=>0,value=>["int",{},{}]}],max_len=>2,min_len=>2,summary=>"Normalized Sah schema"}],["array"]]; |