Text::BibTeX

Interface to read and parse BibTeX files
Download

Text::BibTeX Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Alberto Manuel Brand?o Sim?es
  • Publisher web site:
  • http://search.cpan.org/~ambs/

Text::BibTeX Tags


Text::BibTeX Description

Interface to read and parse BibTeX files Text::BibTeX is a Perl module that serves mainly as a high-level introduction to the Text::BibTeX library, for both code and documentation purposes. The code loads the two fundamental modules for processing BibTeX files (Text::BibTeX::File and Text::BibTeX::Entry), and this documentation gives a broad overview of the whole library that isn't available in the documentation for the individual modules that comprise it.In addition, the Text::BibTeX module provides a number of miscellaneous functions that are useful in processing BibTeX data (especially the kind that comes from bibliographies as defined by BibTeX 0.99, rather than generic database files). These functions don't generally fit in the object-oriented class hierarchy centred around the Text::BibTeX::Entry class, mainly because they are specific to bibliographic data and operate on generic strings (rather than being tied to a particular BibTeX entry). These are also documented here, in "MISCELLANEOUS FUNCTIONS".SYNOPSIS use Text::BibTeX; $bibfile = new Text::BibTeX::File "foo.bib"; $newfile = new Text::BibTeX::File ">newfoo.bib"; while ($entry = new Text::BibTeX::Entry $bibfile) { next unless $entry->parse_ok; . # hack on $entry contents, using various . # Text::BibTeX::Entry methods . $entry->write ($newfile); } Requirements: · Perl


Text::BibTeX Related Software