| 1 | package Sah::Schema::sah::nondefhash_example; | ||
| 2 | |||
| 3 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 4 | 1 | our $DATE = '2021-07-23'; # DATE | |
| 5 | 1 | our $DIST = 'Sah-Schemas-Sah'; # DIST | |
| 6 | 1 | our $VERSION = '0.9.50.0'; # VERSION | |
| 7 | |||
| 8 | # incomplete | ||
| 9 | |||
| 10 | 1 | our $schema = [any => { | |
| 11 | of => [ | ||
| 12 | # anything that's not a hash | ||
| 13 | ['str', {}], | ||
| 14 | ['array', {}], | ||
| 15 | ['code', {}], | ||
| 16 | ['obj', {}], | ||
| 17 | ], | ||
| 18 | }]; | ||
| 19 | |||
| 20 | 1 | 1; | |
| 21 | # ABSTRACT: Non-defhash example | ||
| 22 | |||
| 23 | __END__ |