Koha/t/lib/KohaTest/Biblio
Andrew Moore 0b1c856e4b Bug 2505: adding warnings to C4/Biblio.pm
I added 'use warnings' to C4::Biblio and made a handful of changes to
reduce the number of warnings emitted.

One notable spot is the change in the regex in
C4::Biblio::GetNoZebraIndexes. I have replaced the parens with a character
class. The parens change the way 'split' works, making it return elements
for each delimiter. We did not want those elements returned, and they
only resulted in "'' => undef" being added to the final hash. They also
resulted in two "undefined" warnings for each pass through the loop. I've
included a simple test for this function.

There may be a few warnings still emitted in spots, but either I haven't
seen them yet, or I have chosen to not fix them yet because they require
too much change.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-01-05 16:16:38 -06:00
..
get_biblio_authorised_values.pm Bug 2047: some tests for C4::Biblio::get_biblio_authorised_values 2008-05-27 06:52:13 -05:00
GetNoZebraIndexes.pm Bug 2505: adding warnings to C4/Biblio.pm 2009-01-05 16:16:38 -06:00
ModBiblio.pm bug 2297: improve ModBiblio() to avoid duplicate item fields 2008-07-04 09:22:13 -05:00