Data-CompactReadonly

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Data::IEEE754" : "0",
            "Devel::StackTrace" : "0",
            "File::Temp" : "0",
            "Scalar::Type" : "v0.3.1",
            "Scalar::Util" : "0",
            "String::Binary::Interpolation" : "0",
            "Test::Differences" : "0",
            "Test::Exception" : "0",
            "Test::More" : "0.96"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/DrHyde/perl-modules-Data-CompactReadonly/issues"
      },

META.yml  view on Meta::CPAN

  directory:
    - t
    - inc
requires:
  Data::IEEE754: '0'
  Devel::StackTrace: '0'
  File::Temp: '0'
  Scalar::Type: v0.3.1
  Scalar::Util: '0'
  String::Binary::Interpolation: '0'
  Test::Differences: '0'
  Test::Exception: '0'
  Test::More: '0.96'
resources:
  bugtracker: https://github.com/DrHyde/perl-modules-Data-CompactReadonly/issues
  repository: https://github.com/DrHyde/perl-modules-Data-CompactReadonly
version: v0.1.1
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

        }
    },
  VERSION_FROM => 'lib/Data/CompactReadonly.pm',
  PREREQ_PM    => {
    'Data::IEEE754'                 => 0, # cant use pack's d> because that uses *native* format
    'Devel::StackTrace'             => 0,
    'File::Temp'                    => 0,
    'Scalar::Type'                  => '0.3.1',
    'Scalar::Util'                  => 0,
    'String::Binary::Interpolation' => 0,
    'Test::Differences'             => 0,
    'Test::Exception'               => 0,
    'Test::More'                    => '0.96', # done_testing and subtests
  },
);

t/root-node-array.t  view on Meta::CPAN

use strict;
use warnings;
no warnings qw(portable);

use Test::More;
use Test::Differences;
use Test::Exception;

use File::Temp qw(tempfile);
use String::Binary::Interpolation;

use Data::CompactReadonly;

my $header_bytes = "CROD\x00"; # version 0, byte pointers

open(my $fh, '<', \"$header_bytes${b01000000}\x00");

t/root-node-dictionary.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More;
use Test::Differences;
use Test::Exception;

use File::Temp qw(tempfile);
use String::Binary::Interpolation;

use Data::CompactReadonly;

my $header_bytes = "CROD\x00"; # version 0, byte pointers

my $DICTBYTE = $b10000000;

t/tie.t  view on Meta::CPAN

use strict;
use warnings;

use File::Temp qw(tempfile);
use Test::More;
use Test::Exception;
use Test::Differences;

use Data::CompactReadonly;

(undef, my $filename) = tempfile(UNLINK => 1);

Data::CompactReadonly->create($filename, [
    [5, 4, 3, 2, 1, 0],
    {},
    {
        hash  => { lemon => 'curry' },



( run in 0.895 second using v1.01-cache-2.11-cpan-13bb782fe5a )