Subject: | Syntax error due to missing parentheses around qw |
Perl 5.18 stopped adding implicit parentheses around qw operator in for-context. Tests fail now:
syntax error at t/SQL-Shell.t line 75, near "$param qw(tracing display-mode log-mode escape enter-whitespace width longreadlen longtruncok auto-commit multiline)"
Global symbol "$param" requires explicit package name at t/SQL-Shell.t line 77.
syntax error at t/SQL-Shell.t line 78, near "}"
syntax error at t/SQL-Shell.t line 211, near "}"
Can't use global $^W in "my" at t/SQL-Shell.t line 225, near "local $^W"
Global symbol "$cmd" requires explicit package name at t/SQL-Shell.t line 226.
syntax error at t/SQL-Shell.t line 229, near "}"
Can't use global @_ in "my" at t/SQL-Shell.t line 236, near "= @_"
syntax error at t/SQL-Shell.t line 242, near "}"
Can't use global @_ in "my" at t/SQL-Shell.t line 245, near "= @_"
t/SQL-Shell.t has too many errors.
# Looks like you planned 26 tests but actually ran 0.
t/SQL-Shell.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)