Boulder::StoreBoulder::Store is a simple persistent storage for Stone tag/value objects. | |
Download |
Boulder::Store Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Lincoln D. Stein
- Publisher web site:
- http://search.cpan.org/~lds/
Boulder::Store Tags
Boulder::Store Description
Boulder::Store is a simple persistent storage for Stone tag/value objects. Boulder::Store is a simple persistent storage for Stone tag/value objects.SYNOPSIS Boulder:Store; my $store=new Boulder::Store('test.db',1); my $s = new Stone (Name=>'george', Age=>23, Sex=>M, Address=>{ Street=>'29 Rockland drive', Town=>'Fort Washington', ZIP=>'77777' } ); $store->put($s); $store->put(new Stone(Name=>'fred', Age=>30, Sex=>M, Address=>{ Street=>'19 Gravel Path', Town=>'Bedrock', ZIP=>'12345'}, Phone=>{ Day=>'111-1111', Eve=>'222-2222' } )); $store->put(new Stone(Name=>'andrew', Age=>18, Sex=>M)); $store->add_index('Name'); my $stone = $store->get(0); print "name = ",$stone->Name;Boulder::Store provides persistent storage for Boulder objects using a simple DB_File implementation. To use it, you need to have Berkeley db installed (also known as libdb), and the Perl DB_File module. See the DB_File package for more details on obtaining Berkeley db if you do not already have it.Boulder::Store provides an unsophisticated query mechanism which takes advantage of indexes that you specify. Despite its lack of sophistication, the query system is often very helpful. Requirements: · Perl
Boulder::Store Related Software