Karen Etheridge > Hash-Util-FieldHash-Compat-0.08 > Hash::Util::FieldHash::Compat

Download:
Hash-Util-FieldHash-Compat-0.08.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.08   Source  

NAME ^

Hash::Util::FieldHash::Compat - Use Hash::Util::FieldHash or ties, depending on availability

VERSION ^

version 0.08

SYNOPSIS ^

    use Hash::Util::FieldHash::Compat;

    # pretend you are using L<Hash::Util::FieldHash>
    # under older perls it'll be Tie::RefHash::Weak instead (slower, but same behavior)

DESCRIPTION ^

Under older perls this module provides a drop-in compatible API to Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is available it will use that instead.

This way code requiring field hashes can benefit from fast, robust field hashes on Perl 5.10 and newer, but still run on older perls that don't ship with that module.

See Hash::Util::FieldHash for all the details of the API.

SEE ALSO ^

Hash::Util::FieldHash, Tie::RefHash, Tie::RefHash::Weak.

AUTHOR ^

יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2008 by יובל קוג'מן (Yuval Kogman).

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

CONTRIBUTORS ^

syntax highlighting: