[Koha-bugs] [Bug 12151] remove remaining uses of the Perl smartmatch operator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jul 6 19:39:24 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12151

--- Comment #20 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 29522
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29522&action=edit
[PASSED QA] Bug 12151: Remove use of smartmatch operator in tools/batchMod.pl

The '~~' smartmatch operator is used to compare MARC::Field->subfield(code)
(i.e. a string) and the text element of each MARC::Field->subfields() which
is also plain text.

Substituting '~~' for 'eq' should be harmless then.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Passes QA script and tests.
Tested batch modification of items, no problems found.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list