- or download this
use Hash::Ordered;
use MCE::Shared::Ordhash;
...
my $h3 = Hash::Ordered->new( @pairs );
my $h4 = MCE::Shared::Ordhash->new( @pairs );
- or download this
my $oh = MCE::Shared::Ordhash->new();
...
$oh->{hello} = "there"; # on-demand hash-like dereferencing
$oh->assign( @pairs );
- or download this
use Hash::Ordered;
...
my $h2 = Hash::Ordered->new(qw( title1 foo title2 bar title3 baz ));
my @labels2 = $h2->keys;