Metabase::Archive - Interface for Metabase storage
version 0.016
package Metabase::Archive::Foo; use Metabase::Fact; use Moose; with 'Metabase::Archive'; # define Moose attributes sub store { my ( $self, $fact_struct ) = @_; # store a fact } sub extract { my ( $self, $guid ) = @_; # retrieve a fact return $fact; }
This describes the interface for storing and retrieving facts. Implementations must provide the store and extract methods.
store
extract
Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through the web interface at http://rt.cpan.org/Dist/Display.html?Queue=Metabase
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
David Golden <dagolden@cpan.org>
Ricardo Signes <rjbs@cpan.org>
Leon Brocard <acme@cpan.org>
This software is Copyright (c) 2010 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Metabase, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Metabase
CPAN shell
perl -MCPAN -e shell install Metabase
For more information on module installation, please visit the detailed CPAN module installation guide.