Hash-Ordered
view release on metacpan or search on metacpan
lib/Hash/Ordered.pm view on Meta::CPAN
_ITER => 5, # for tied hash support
};
use constant {
_INDEX_THRESHOLD => 25, # max size before indexing/tombstone deletion
_TOMBSTONE => \1, # ref to arbitrary scalar
};
# 'overloading.pm' not available until 5.10.1 so emulate with Scalar::Util
BEGIN {
if ( $] gt '5.010000' ) {
## no critic
eval q{
sub _stringify { no overloading; "$_[0]" }
sub _numify { no overloading; 0+$_[0] }
};
die $@ if $@; # uncoverable branch true
}
else {
## no critic
eval q{
( run in 0.797 second using v1.01-cache-2.11-cpan-cc502c75498 )