[open-ils-commits] r12990 - trunk/Open-ILS/src/perlmods/OpenILS/Utils (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Apr 26 08:55:40 EDT 2009
Author: miker
Date: 2009-04-26 08:55:39 -0400 (Sun, 26 Apr 2009)
New Revision: 12990
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD.pm
trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm
Log:
MFHD lives in the file OpenILS/Utils/MFHD.pm, but all submodules and code using it, except the new MFHDParser.pm, work in the shorter MFHD namespace (instead of OpenILS::Utils::MFHD). See Fieldmapper as an existing analog
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD.pm 2009-04-26 02:46:38 UTC (rev 12989)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD.pm 2009-04-26 12:55:39 UTC (rev 12990)
@@ -1,4 +1,4 @@
-package OpenILS::Utils::MFHD;
+package MFHD;
use strict;
use integer;
use Carp;
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm 2009-04-26 02:46:38 UTC (rev 12989)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm 2009-04-26 12:55:39 UTC (rev 12990)
@@ -65,7 +65,7 @@
my $incomplete = []; # Laurentian extension to MFHD standard
my $marc = MARC::Record->new_from_xml($mfhd_xml);
- my $mfhd = OpenILS::Utils::MFHD->new($marc);
+ my $mfhd = MFHD->new($marc);
foreach my $field ($marc->field('866')) {
my $textual_holdings = $self->format_textual_holdings($field);
More information about the open-ils-commits
mailing list