]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1707549: Remove Perl 5.24+ syntax restriction
authorMike Rylander <mrylander@gmail.com>
Tue, 1 Aug 2017 16:34:11 +0000 (12:34 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 Aug 2017 19:05:15 +0000 (15:05 -0400)
commita073b5a441576e3348391669a6e6ea94a304a5ce
tree54327db95e62581833bd5a1d2d2122a83544c7ff
parent97dda314bee85b2d5cac153fd11523473c0f5115
LP#1707549: Remove Perl 5.24+ syntax restriction

Quoth the Perl docs: "An experimental feature added in Perl 5.14 allowed each,
keys, push, pop, shift, splice, unshift, and values to be called with a scalar
argument. This experiment is considered unsuccessful, and has been removed.
The postderef feature may meet your needs better."

The specific instance here was probably just a typo or thinko the did the
right thing on Perls "of a certain age" ... so, we fix that here, now.

To test:

[1] Upon applying the patch, verify that Perl 5.24+ will successfully
    compile metabib.pm, that the open-ils.storage service will
    start up, and that catalog searches continue to work.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm