Basic reformat of section in Search.pm
authorJoe Atzberger <joe.atzberger@liblime.com>
Fri, 9 Jan 2009 21:42:27 +0000 (15:42 -0600)
committerJohn Soros <john.soros@biblibre.com>
Tue, 28 Apr 2009 11:15:10 +0000 (13:15 +0200)
commit21ab96a51ebc02e156be761aec4949d0f1e7c594
tree5de0777a59945fe93a68bcfdc1cb9f6e5c5b97f1
parentaaf37a17100f033159cc9541715c72cc995e2748
Basic reformat of section in Search.pm

In for loops, replace all-inclusive conditional blocks like:
    for (@foo) {
        if (test) {
            block;
        }
    }

with conditional use of "next":
    for (@foo) {
        test or next;
        block;
    }

This reduces the number of unnecessarily nested blocks, and the
overall number of lines.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Search.pm