Subject: | Text::BibTeX::Name needs to load Text::BibTeX |
If I try to use Text::BibTeX::Name in the following one-liner, I get an error:
% perl -MText::BibTeX::Name -e '$n=Text::BibTeX::Name->new("John Paul Jones")'
Can't locate object method "_split" via package "Text::BibTeX::Name" at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Text/BibTeX/Name.pm line 316.
This is because Text::BibTeX::Name doesn't ever load Text::BibTeX. A simple fix is just to add
"use Text::BibTeX;" somewhere in Text::BibTeX::Name.