[DBIx-Class-Devel] [dbsrgits/sql-abstract] perl 5.8 compatibility (#20)

David Cantrell notifications at github.com
Wed Feb 24 19:27:17 GMT 2021


On perl 5.8.9 there is currently a syntax error:

```
t/80extra_clauses.t ....... Useless use of unshift with no values at /Volumes/Vault/david/git-repos/sql-abstract/blib/lib/SQL/Abstract/Plugin/ExtraClauses.pm line 126.
syntax error at /Volumes/Vault/david/git-repos/sql-abstract/blib/lib/SQL/Abstract/Plugin/ExtraClauses.pm line 126, near "]{queries"
syntax error at /Volumes/Vault/david/git-repos/sql-abstract/blib/lib/SQL/Abstract/Plugin/ExtraClauses.pm line 126, near "},"
syntax error at /Volumes/Vault/david/git-repos/sql-abstract/blib/lib/SQL/Abstract/Plugin/ExtraClauses.pm line 128, near "}"
Compilation failed in require at /Volumes/Vault/david/git-repos/sql-abstract/blib/lib/SQL/Abstract.pm line 394.
t/80extra_clauses.t ....... Dubious, test returned 9 (wstat 2304, 0x900)
```

This trivial patch fixes it.
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/sql-abstract/pull/20

-- Commit Summary --

  * perl 5.8 compatibility

-- File Changes --

    M lib/SQL/Abstract/Plugin/ExtraClauses.pm (2)

-- Patch Links --

https://github.com/dbsrgits/sql-abstract/pull/20.patch
https://github.com/dbsrgits/sql-abstract/pull/20.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-abstract/pull/20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20210224/c2a4eab7/attachment.htm>


More information about the DBIx-Class-Devel mailing list