Update DOI.pm

Minor changes after merging Alan's pull request.