Pogo

Pogo is a Perl interface for GOODS.
Download

Pogo Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Jendrik Seipp
  • Publisher web site:

Pogo Tags


Pogo Description

Pogo is a Perl interface for GOODS. Pogo is a Perl interface for GOODS.SYNOPSIS use Pogo; $pogo = new Pogo 'sample.cfg'; # connect to a database $root = $pogo->root_tie; # get a reference to root hash in the database $root->{key1} = "string"; # store a string into the database $value = $root->{key1}; # $value is "string" $root->{key2} = ; # store a array into the database $arrayref = $root->{key1}; # get a reference to the array in the database $value = $root->{key2}->; # $value is 1 $root->{key3} = {a=>1,b=>2}; # store a hash into the database $hashref = $root->{key3}; # get a reference to the hash in the database $value = $root->{key3}->{b}; # $value is 2 $root->{key4} = new Pogo::Btree;# make a B-tree hash $hashref = $root->{key5}; # B-tree is accessed as hash $root->{key5} = new Pogo::Htree;# make a H-tree(see below) hash $hashref = $root->{key6}; # H-tree is accessed as hash $root->{key6} = new Aclass; # store a object into the database $obj = $root->{key4}; # $obj is a Aclass object in the databasePogo is a Perl interface of GOODS (Generic Object Oriented Database System). Pogo maps Perl's scalars, arrays, hashes and objects directly to the database objects. Pogo has the data types as follows. - scalar - array - hash - B-tree - H-tree (hash that hash entry table is placed as B-tree) - N-tree (same as B-tree but key is treated as number)The value of a scalar data or an element of a collection type data is a string or a reference to another data. Pogo uses Perl's tieing mechanism and provide transparent accessibility to persistent data in the database. Each data in the database can have class name string internally, so Perl objects (i.e. reference which is blessed by a class name) can be stored in the database. Requirements: · Perl


Pogo Related Software