[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
Thu Jul 3 16:51:54 CEST 2014


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

--- Comment #16 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 29490
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29490&action=edit
[SIGNED-OFF] 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>

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


More information about the Koha-bugs mailing list