$load_row_coderef = $arg->{load_row_coderef};
no strict 'subs';
- no warnings 'redefine';
+ no warnings 'all';
eval "$arg->{rules};";
- die "error evaling $arg->{rules}: $@\n" if ($@);
+ die "error evaling [$@] using rules " . $arg->{rules} . "\n" if ($@);
return _get_ds();
}
$WebPAC::Normalize::MARC::rec = $rec;
}
-=head2
+=head2 _get_rec
my $rec = _get_rec();
sub _get_rec { $rec };
+=head2 _set_rec
+
+ _set_rec( $rec );
+
+=cut
+
+sub _set_rec { $rec = $_[0] }
+
=head2 _set_config
Set current config hash