Bug 11478: Replace experimental given/when keywords
authorColin Campbell <colin.campbell@ptfs-europe.com>
Mon, 6 Jan 2014 11:53:29 +0000 (11:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 21 May 2014 07:33:24 +0000 (09:33 +0200)
commitd64145b2c61ebbd1bd34f276dc1e107382b4ad59
tree9e2178fac4524fed377eed9b5646e9217c09cdf1
parent704d0cf4b21aaca2bd3d21ea5bb2186ae6d3c848
Bug 11478: Replace experimental given/when keywords

The keywords given and when are flagged experimental
in perl 5.18 and subject to change. This patch
replaces the construct by an if/elsif

To test:

[1] Verify that prove -v t/SimpleMARC.t passes.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 08d15a6fd1b51435b92f1056f6735c8317636068)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/SimpleMARC.pm