Skip to content

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

Open

Description

@dveeden
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

Activity

  1. changed the title [-]Tests break compatibility with older Perl versions[/-] [+]tests: quote test break compatibility with older Perl versions[/+] on Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions