MooseX::Types::Tied::Hash::IxHash - Moose type library for Tie::IxHash tied hashes
This document describes version 0.003 of MooseX::Types::Tied::Hash::IxHash - released April 21, 2012 as part of MooseX-Types-Tied.
use Moose; use MooseX::Types::Tied::Hash::IxHash ':all'; has tied_array => (is => 'ro', isa => IxHash); # etc...
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.
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).
$thing-
This type is not compatible with the write operations allowed by the Hash Moose native attribute trait.
Please see those modules/websites for more information related to this module.
MooseX::Types::Tied
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
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.
Chris Weyl <cweyl@alumni.drew.edu>
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
To install MooseX::Types::Tied, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types::Tied
CPAN shell
perl -MCPAN -e shell install MooseX::Types::Tied
For more information on module installation, please visit the detailed CPAN module installation guide.