David Golden

NAME

CPAN::Testers::Metabase::Demo - Demo Metabase backend

VERSION

version 1.999002

SYNOPSIS

Direct usage

   use CPAN::Testers::Metabase::Demo;
 
   # defaults to directory on /tmp
   my $mb = CPAN::Testers::Metabase::Demo->new;
 
   $mb->public_librarian->search( %search spec );

Metabase::Web config

   ---
   Model::Metabase:
     class: CPAN::Testers::Metabase::Demo

DESCRIPTION

This is a demo Metabase backend that uses SQLite and a flat file in a temporary directory.

USAGE

new

   my $mb = CPAN::Testers::Metabase::AWS->new( 
     data_directory => "/tmp/my-metabase"
   );

Arguments for new:

  • data_directory -- optional -- directory path to store data files. Defaults to a File::Temp temporary directory

SEE ALSO

AUTHOR

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004