| Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
use G::Seq::Primitive; blah blah blah
| DESTROY | No description | Code |
| _sdb_path | No description | Code |
| _set_sdb_path | No description | Code |
| new | No description | Code |
| sdb_exists | No description | Code |
| sdb_load | No description | Code |
| sdb_save | No description | Code |
| DESTROY | description | prev | next | Top |
my $self = shift;}
| _sdb_path | description | prev | next | Top |
mkdir($path, 0777); return $path;}
| _set_sdb_path | description | prev | next | Top |
$path = shift; $path .= '/' unless(substr($path, -1, 1) eq '/');}
| new | description | prev | next | Top |
my $pkg = shift; my $filename = shift; my $option = shift; my $this; return $this;}
| sdb_exists | description | prev | next | Top |
my $name = shift; my $path = _sdb_path(); if(-e "$path/$name"){ return 1; }else{ return 0; }}
| sdb_load | description | prev | next | Top |
my $name = shift; my $path = _sdb_path(); if (-e $path . $name){ return retrieve($path . $name); }else{ msg_error("SDB: cannot open $path . $name"); return; }}
| sdb_save | description | prev | next | Top |
my $val = shift; my $name = shift || 'tmp'; my $path = _sdb_path(); nstore($val, $path . $name); return 1;}
| AUTHOR | Top |
| SEE ALSO | Top |