Db::GTM

Db::GTM is a Perl extension to interface with GT.M global data.
Download

Db::GTM Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Steven Zeck
  • Publisher web site:
  • http://search.cpan.org/~szeck/Db-GTM-1.27/GTM.pm

Db::GTM Tags


Db::GTM Description

Db::GTM is a Perl extension to interface with GT.M global data. Db::GTM is a Perl extension to interface with GT.M global data.SYNOPSIS use Db::GTM; my($db) = new GTMDB("SPZ"); # Create connection to node # Basic database node storage/retrieval $db->set(1000); # sets node = 1000 $db->set("foo",50); # sets node = 50 $db->set("foo",6,1012); # sets node = 1012 $db->set("foo",9,$$); # sets node = PID $db->set("foo",6,"bar",5); # sets node = 5 $db->get("foo",6); # should be 1012 # Iterating through the database $db->next("foo",6); # should be scalar 9 $db->prev("foo",9); # should be scalar 6 $db->prev("foo",6); # should be undefined $db->children("foo"); # should be list: (6,9) $db->query("foo",6); # should be list: ("foo",6,"bar"); # Copying nodes $db->merge("foo",6,undef,"foo",12); # copies and subscripts into $db->clobber("foo",6,undef,"foo",12); # copies over to # makes a clone of # Deleting nodes $db->kill("foo",6); # Kills node # and $db->kv("foo",12); # Kills node only $db->ks("foo",12); # Kills node # and any other subscripts... Requirements: · Perl


Db::GTM Related Software