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

syntax error ... near "->%" #42

Closed eserte closed 3 years ago

eserte commented 3 years ago

The test suite of JSON-Schema-Draft201909-0.021 fails for perl 5.22 and earlier versions:

syntax error at /home/cpansand/.cpan/build/2021020622/JSON-Schema-Draft201909-0.021-VIKRnI/blib/lib/JSON/Schema/Draft201909/Result.pm line 149, near "->%"
Compilation failed in require at /home/cpansand/.cpan/build/2021020622/JSON-Schema-Draft201909-0.021-VIKRnI/blib/lib/JSON/Schema/Draft201909.pm line 31.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2021020622/JSON-Schema-Draft201909-0.021-VIKRnI/blib/lib/JSON/Schema/Draft201909.pm line 31.
Compilation failed in require at t/add-schema.t line 13.
BEGIN failed--compilation aborted at t/add-schema.t line 13.
t/add-schema.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
... (etc) ...
karenetheridge commented 3 years ago

doh, I've gotten too accustomed to modern perls! fixed in 0.022.