NAME
MooseX::Types::Tied::Hash::IxHash - Moose type library for Tie::IxHash tied hashes
VERSION
This document describes version 0.003 of MooseX::Types::Tied::Hash::IxHash - released April 21, 2012 as part of MooseX-Types-Tied.
SYNOPSIS
use Moose;
use MooseX::Types::Tied::Hash::IxHash ':all';
has tied_array => (is => 'ro', isa => IxHash);
# etc...
DESCRIPTION
This is a collection of Moose types and coercion settings for Tie::IxHash tied hashes.
The package behaves as you'd expect a MooseX::Types library to act: either specify the types you want imported explicitly or use the ':all' catchall.
TYPES
IxHash
Base type: TiedHash
This type coerces from ArrayRef. As of 0.004 we no longer coerce from HashRef, as that lead to 1) annoyingly easy to miss errors involving expecting $thing-
attribute( { a => 1, b => 2, ... } )> to result in proper ordering; and 2) the Hash native trait appearing to work normally but instead silently destroying the preserved order (during certain write operations).
WARNING!
This type is not compatible with the write operations allowed by the Hash Moose native attribute trait.
SEE ALSO
Please see those modules/websites for more information related to this module.
SOURCE
The development version is on github at http://github.com/RsrchBoy/moosex-types-tied and may be cloned from git://github.com/RsrchBoy/moosex-types-tied.git
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/moosex-types-tied/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Chris Weyl <cweyl@alumni.drew.edu>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999