This changeset deals with enhancements to the MFHD/Caption/Holding Perl modules....
authordbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 3 May 2010 12:50:40 +0000 (12:50 +0000)
committerdbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 3 May 2010 12:50:40 +0000 (12:50 +0000)
commit1f69637809a3c267f33a6b542f05ebe30865cb46
tree8f0a48fe9efc39d343680c1e4244feaf072a2f65
parent88c28dc8858316eb676ba2c5647af42b62f7e8ac
This changeset deals with enhancements to the MFHD/Caption/Holding Perl modules. Along with a few smaller changes,
it:

- Forces MARC::Record to be newer than 2.0.0, as that version had an issue with classes derived from MARC::Field

- Augments MFHD to properly deal with inserting, appending, and deleting Caption and Holding objects

- Replaces the issuance-table specific version of generate_predictions() with something more general and flexible (the diff butchers this!)

- Adds new methods for getting a compressed or decompressed set of Holdings for a given Caption

- Splits increment() into increment() and extend(), with the second being meant for compressed holdings

- Adds compressed_to_first(), a companion method for compressed_to_last()

- Overloads the 'cmp' operator for Holdings to aid in sorting, compressing, and deduping of Holding objects

git-svn-id: svn://svn.open-ils.org/ILS/branches/seials-integration@16373 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Utils/MFHD.pm
Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Holding.pm
Open-ILS/src/perlmods/OpenILS/Utils/MFHD/test/testlib.pm