From 244a63ab87c7157eec70d3452addd0e2c0fe7c81 Mon Sep 17 00:00:00 2001 From: Shawn Boyette Date: Fri, 19 Dec 2008 17:53:57 +0000 Subject: [PATCH] stow_record_data uses named captures now instead of oldstyle automagic capture vars -- this caused breakage in old2new mapping under cretain conditions --- marc-cleanup | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/marc-cleanup b/marc-cleanup index 3680815..f40babb 100755 --- a/marc-cleanup +++ b/marc-cleanup @@ -181,13 +181,12 @@ sub do_automated_cleanups { sub stow_record_data { # get tag data if we're looking at it - if ($record[$ptr] =~ m/|) { $lptr++; $line = $record[$lptr]; - $recmeta{oid} = $1 + $recmeta{oid} = $+{TAG} if ($line =~ /(.+?)