Hash-SharedMem

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

version 0.005; 2017-08-11

  * update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later
    (which is the default from Perl 5.25.1)

  * on Perl 5.25.3 and later, where a regular hash in scalar context
    yields the count of items in the hash, make the tied scalar(%shash)
    behave equivalently

  * update automatic configuration to not rely on . in @INC, which is
    no longer necessarily there from Perl 5.25.7

  * update for changed S_croak_xs_usage() prototype in ExtUtils::ParseXS
    3.30, requiring the new version of that module

  * skip t/taint.t if the perl empirically doesn't perform taint checks
    but the script got run anyway (which happens with an unsupported
    configuration of the Perl core which some people are using in the
    absence of a supported no-taint configuration)

  * test that all modules have matching version numbers

  * in documentation, update the stated Perl version beyond which the
    Unicode bug in the treatment of filenames might be fixed

  * no longer include a Makefile.PL in the distribution

  * in documentation, use four-column indentation for all verbatim
    material

  * in META.{yml,json}, point to public bug tracker

  * rewrite some internal recursive functions to use the cursor system

  * to perform static assertion in C, rather than a hand-crafted
    formulation, use Perl's STATIC_ASSERT_DECL() macro (from Perl 5.27.1
    onwards) or STATIC_ASSERT_GLOBAL() macro (from Perl 5.21.7 until it
    was renamed to STATIC_ASSERT_DECL()), with a reserve definition for
    older Perls

  * avoid some compiler warnings that arise on Perl 5.6

  * use cBOOL() where appropriate

  * remove a duplicated assignment statement

version 0.004; 2015-01-28

  * port to Perl 5.21.1, where errno-based error messages (as seen in
    $!) depend on the state of the locale pragma

  * port to Perl 5.21.8, where it is necessary to work around bug [perl
    #123558] to test deparsing

  * new functions shash_key_min(), shash_key_max(), shash_key_ge(),
    shash_key_gt(), shash_key_le(), and shash_key_lt(), to iterate over
    the content of a shared hash, and corresponding ability to iterate a
    tied hash via each(%shash) and to enumerate it via keys(%shash) et al

  * new functions shash_keys_array() and shash_keys_hash() to enumerate
    the keys in a shared hash

  * new function shash_group_get_hash() to retrieve the full content of
    a shared hash

  * new function shash_occupied() to check whether a shared hash is
    non-empty, and corresponding ability to check occupancy of a tied
    hash via scalar(%shash)

  * new function shash_count() to count the items in a shared hash

  * new function shash_size() to determine approximate size of the
    content of a shared hash

  * new function shash_length() to get the length of a value without
    reifying the value as a string SV

  * add clearer name shash_exists() for the existing function shash_getd()

  * make returned reference scalars and tally value scalars unwritable

  * test that keys and values can contain NULs

  * test unwritability of returned mode strings

  * in documentation, clarify that shash_tidy() counts as a write
    operation

  * in documentation, correct grammar in the description of shash_open()
    and the equivalent constructor method

version 0.003; 2014-05-05

  * bugfix: on Perl 5.6, repair a dodgy workaround that could cause
    magical (e.g., tainted) arguments to lose their magic flags



( run in 0.636 second using v1.01-cache-2.11-cpan-39bf76dae61 )