Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tm::materialized::mldbm2(3pm) [debian man page]

TM::Materialized::MLDBM2(3pm)				User Contributed Perl Documentation			     TM::Materialized::MLDBM2(3pm)

NAME
TM::Materialized::MLDBM2 - Topic Maps, DBM Storage (synchronous) SYNOPSIS
NOTE: THIS PACKAGE IS NOW DEPRECATED NOTE: USE TM::ResourceAble::MLDBM INSTEAD use TM::Materialized::MLDBM2; { my $tm = new TM::Materialized::MLDBM2 (file => '/tmp/map.dbm'); # modify the map here..... } # it goes out of scope here, and all changes are written back automagically # later in the game { my $tm = new TM::Materialized::MLDBM2 (file => '/tmp/map.dbm'); # we are back in business, no sync necessary } DESCRIPTION
This package just implements TM with a BerkeleyDB store. Unlike TM::Materialized::MLDBM this module does not need explicit synchronisation with the external resource (the DBM file here). It ties content-wise with the DBM file at constructor time and unties at DESTROY time. The advantage of this storage form is that there is little memory usage. Only those fractions of the map are loaded which are actually needed. If one has very intense interactions with the map (as a query processor has), then this storage technique is not optimal. INTERFACE
Constructor The constructor expects a hash with the following keys: file (no default) This contains the file name of the DBM file to tie to. SEE ALSO
TM, TM::Materialized::MLDBM AUTHOR INFORMATION
Copyright 200[68], Robert Barta <drrho@cpan.org>, All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html perl v5.10.1 2008-06-25 TM::Materialized::MLDBM2(3pm)

Check Out this Related Man Page

RDF::Trine::Iterator::Graph::Materialized(3pm)		User Contributed Perl Documentation	    RDF::Trine::Iterator::Graph::Materialized(3pm)

NAME
RDF::Trine::Iterator::Graph::Materialized - Materialized graph class VERSION
This document describes RDF::Trine::Iterator::Graph::Materialized version 1.000 SYNOPSIS
use RDF::Trine::Iterator; my $iterator = RDF::Trine::Iterator::Graph::Materialized->new( @data ); while (my $statement = $iterator->next) { # do something with $statement } my $iterator = RDF::Trine::Iterator::Graph->new( &code ); my $miter = $iterator->materialize; while (my $statement = $miter->next) { # do something with $statement } $miter->reset; # start the iteration again while (my $statement = $miter->next) { # ... } METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Iterator::Graph class. "new ( @results, %args )" Returns a new materialized graph interator. Results must be a reference to an array containing individual results. "reset" Returns the iterator to its starting position. "next" Returns the next item in the iterator. "length" Returns the number of elements in the iterator. BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>" COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-29 RDF::Trine::Iterator::Graph::Materialized(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix command in mind map

I found this link that might be useful for a newbie to remember unix commands. It use mind map technique and summarize everything within one page. http://mind-map-you.blogspot.com/2006/12/unix-command-in-mind-map.html (0 Replies)
Discussion started by: bani100
0 Replies

2. Shell Programming and Scripting

Understanding an example of perl map() function

Hello, I have many folders under which there is always a file with the same name, which contains the data I need to process later. A perl oneliner was borrowed perl -e 'print "gene_id\t", join("\t", map {/(.*)\//; $1} @ARGV),"\n";' *_test.trim/level.csvto make a header so that each column... (5 Replies)
Discussion started by: yifangt
5 Replies