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)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 20 Feb 2014 15:52:57 +0000 (15:52 +0000)
commit08d15a6fd1b51435b92f1056f6735c8317636068
tree82c8ca27295773e72377a7905a584a6b93341199
parent48298fe4942ba37f59aa42d7155552c5b61974cf
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>
Koha/SimpleMARC.pm