Probably the distribution should declare 5.010 as minimum perl version --- or alternatively get rid of defined-or usage. I see with perl 5.8.1 the following error in the test suite:
Search pattern not terminated at /tmpfs/.cpan-build-cpansand/2018082615/SockJS-0.04-jQK0kG/blib/lib/SockJS/Middleware/Cors.pm line 22.
Compilation failed in require at t/middleware/cors.t line 6.
BEGIN failed--compilation aborted at t/middleware/cors.t line 6.
t/middleware/cors.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Probably the distribution should declare 5.010 as minimum perl version --- or alternatively get rid of defined-or usage. I see with perl 5.8.1 the following error in the test suite: