CDB_File

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "inc"
      ]
   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "B::COW" : "0",
            "Devel::Peek" : "0",
            "ExtUtils::MakeMaker" : "0",
            "File::Temp" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0",
            "Test::Warnings" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "recommends" : {},
         "requires" : {
            "B::COW" : "0",
            "Devel::Peek" : "0",
            "File::Temp" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0",
            "Test::Warnings" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/toddr/CDB_File/issues"
      },

META.yml  view on Meta::CPAN

---
abstract: 'Perl extension for access to cdb databases'
author:
  - 'Todd E Rinaldo <toddr@cpan.org>'
build_requires:
  B::COW: '0'
  Devel::Peek: '0'
  ExtUtils::MakeMaker: '0'
  File::Temp: '0'
  Test::Fatal: '0'
  Test::More: '0'
  Test::Warnings: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: CDB_File
no_index:
  directory:
    - t
    - inc
recommends: {}
requires:
  B::COW: '0'
  Devel::Peek: '0'
  File::Temp: '0'
  Test::Fatal: '0'
  Test::More: '0'
  Test::Warnings: '0'
resources:
  bugtracker: https://github.com/toddr/CDB_File/issues
  license: http://dev.perl.org/licenses/
  repository: https://github.com/toddr/CDB_File
version: '1.05'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

    'ABSTRACT_FROM' => 'CDB_File.pm',
    'PL_FILES'      => {},
    ( $ExtUtils::MakeMaker::VERSION >= 6.3002                ? ( 'LICENSE' => 'perl', )     : () ),
    ( ( $Config{'d_mmap'} && $Config{'d_mmap'} eq 'define' ) ? ( 'DEFINE'  => '-DHASMMAP' ) : () ),
    PREREQ_PM => {
        'Test::More'     => 0,    # For testing
        'B::COW'         => 0,    # For testing
        'File::Temp'     => 0,    # For testing
        'Devel::Peek'    => 0,    # For testing
        'Test::Warnings' => 0,    # For testing
        'Test::Fatal'    => 0,    # For testing
    },
    dist       => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean      => { FILES    => 'CDB_File-*' },
    META_MERGE => {
        recommends     => {},
        build_requires => {
            'Test::More'     => 0,    # For testing
            'B::COW'         => 0,    # For testing
            'File::Temp'     => 0,    # For testing
            'Devel::Peek'    => 0,    # For testing
            'Test::Warnings' => 0,    # For testing
            'Test::Fatal'    => 0,    # For testing
        },
        resources => {
            license    => 'http://dev.perl.org/licenses/',
            bugtracker => 'https://github.com/toddr/CDB_File/issues',
            repository => 'https://github.com/toddr/CDB_File',
        },
    },
);

t/clear.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use FindBin;
use lib "$FindBin::Bin/lib";
use Helpers;    # Local helper routines used by the test suite.

use Test::More;
use Test::Fatal;

plan( skip_all => "utf8 macro support requires > 5.13.7" ) if $] < '5.013007';
plan tests => 5;

use CDB_File;

my ( $db, $db_tmp ) = get_db_file_pair(1);

my %a = qw(one Hello two Goodbye);
eval { CDB_File::create( %a, $db->filename, $db_tmp->filename, 'utf8' => 1 ) or die "Failed to create cdb: $!" };



( run in 2.646 seconds using v1.01-cache-2.11-cpan-54e63673c56 )