karenetheridge / JSON-Schema-Modern

Validate data against a schema using a JSON Schema
https://metacpan.org/release/JSON-Schema-Modern/
Other
10 stars 1 forks source link

custom vocabulary: expose system internals to assertion keywords #29

Open karenetheridge opened 4 years ago

karenetheridge commented 4 years ago

expose various attributes of the system as new keywords for comparison in assertion keywords, to allow for static evaluation of a file that provides prereq information in a more statically-parsed way than cpanfile can.

such attributes could include: perl version, OS architecture/version, compiler options ($Config) etc.

karenetheridge commented 4 years ago
> 15:37 < tinita> !and [ !gt [ !var "$]", 5.28 ], !ne [ !var $^O, MSWin32 ] ]