Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cuts down on the perl Record.pm warnings #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bmagic007
Copy link

Cuts down on the perl warnings when an undefined value makes it's way into the field sub.

Tested on 120k bibs for a migration. Tested before/after and found that the result was identical but with the patch, much less noise!

This is the error message without the patch:

Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202.
(repeated thousands of times, flooding the standard output)

Cuts down on the perl warnings when an undefined value makes it's way into the field sub.

Tested on 120k bibs for a migration. Tested before/after and found that the result was identical but with the patch, much less noise!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant