CodeBase

CodeBase is a Perl module for accessing dBASE files.
Download

CodeBase Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andrew Ford
  • Publisher web site:
  • http://search.cpan.org/~andrewf/LaTeX-Driver-0.07/lib/LaTeX/Driver.pm

CodeBase Tags


CodeBase Description

CodeBase is a Perl module for accessing dBASE files. CodeBase is a Perl module for accessing dBASE files.ABSTRACTThe CodeBase module provides a Perl 5 class for accessing dBASE files. It is a development of an earlier unpublished Perl 4 extension.SYNOPSISPrograms using the CodeBase module must include the line: use CodeBase;The functions that the module provides are listed below, grouped according to type of function.File manipulation functions $fh = CodeBase::open($filename, @options); $fh = CodeBase::create($filename, @fielddefs); $fh->DESTROY();File information functions $n_recs = $fh->reccount(); $recsize = $fh->recsize(); $n_fields = $fh->fldcount(); @names = $fh->names(); $type = $fh->type($fieldname); @fieldinfo = $fh->fieldinfo();Navigation functions $recno = $fh->recno(); $fh->goto($recno); $fh->skip($n_recs); $fh->bof(); $fh->eof();Record manipulation functions @values = $fh->fields(); $value = $fh->field($fieldname); $fh->set_field($fieldname, $value); $fh->new_record(@values); $fh->replace_record(@values); $fh->deleted(); $fh->delete_record($recno); $fh->flush($tries); $fh->pack($compress_memo); $fh->lock($what, $tries); $fh->unlock();Index manipulation functions $n_tags = $fh->tag_count(); @tags = $fh->tags(); @taginfo = $fh->taginfo($index_name); $fh->open_index($name); $fh->create_index($name, $taginfo); $fh->reindex(); $fh->set_tag(); $fh->seek($key); $q = $fh->prepare_query($expr ]); $q->execute; $q->next();Miscellaneous functions CodeBase::option(@options); $errno = CodeBase::errno(); $errmsg = CodeBase::errmsg($errno); $version = CodeBase::libversion; $dbtype = CodeBase::dbtype; Requirements: · Perl


CodeBase Related Software