Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defined-or used #183

Closed
eserte opened this issue Feb 20, 2021 · 0 comments · Fixed by #184
Closed

defined-or used #183

eserte opened this issue Feb 20, 2021 · 0 comments · Fixed by #184
Assignees

Comments

@eserte
Copy link

eserte commented Feb 20, 2021

It seems that the code is using defined-or (//), which is not implemented in perl 5.8.x --- so either the perl minimum version needs to be set/increased, or the code rewritten:

Possible unintended interpolation of @cpan in string at lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm line 92.
Possible unintended interpolation of @cpan in string at lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm line 92.
Possible unintended interpolation of @marcbradshaw in string at lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm line 92.
Bareword found where operator expected at lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm line 325, near "This is free software; you can redistribute it and/or"
  (Might be a runaway multi-line // string starting on line 92)
Unable to load backend SQL: Global symbol "$table" requires explicit package name at lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm line 23.
... (etc) ...
Global symbol "@marcbradshaw" requires explicit package name at lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm line 92.
lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm has too many errors.
Compilation failed in require at lib/Mail/DMARC/Report/Store/SQL.pm line 11.
BEGIN failed--compilation aborted at lib/Mail/DMARC/Report/Store/SQL.pm line 11.
Compilation failed in require at (eval 76) line 2.
BEGIN failed--compilation aborted at (eval 76) line 2.

 at lib/Mail/DMARC/Report.pm line 78.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 115.
t/04.PurePerl.t .............................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 115 subtests passed 
... (etc) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants