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

tests: quote test break compatibility with older Perl versions #451

Open
dveeden opened this issue Nov 11, 2024 · 0 comments
Open

tests: quote test break compatibility with older Perl versions #451

dveeden opened this issue Nov 11, 2024 · 0 comments

Comments

@dveeden
Copy link
Collaborator

dveeden commented Nov 11, 2024

Type of arg 1 to each must be hash (not private array) at t/17quote.t line 28, near "@sqlmodes) "
Execution of t/17quote.t aborted due to compilation errors.
t/17quote.t ............................. 
Dubious, test returned 255 (wstat 65280, 0xff00)

Source: https://www.cpantesters.org/cpan/report/9af6460e-8125-11ef-9009-601eda8747de

This is with perl 5.10.1

This line is the problem:

while (my ($i, $sqlmode) = each @sqlmodes) {

See also https://perldoc.perl.org/functions/each

@dveeden dveeden changed the title Tests break compatibility with older Perl versions tests: quote test break compatibility with older Perl versions Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant