1Hash::Util::FieldHash::UCsoemrpaCto(n3t)ributed Perl DocHuamsehn:t:aUttiioln::FieldHash::Compat(3)
2
3
4
6 Hash::Util::FieldHash::Compat - Use Hash::Util::FieldHash or ties,
7 depending on availability.
8
10 use Hash::Util::FieldHash::Compat;
11
12 # pretend you are using L<Hash::Util::FieldHash>
13 # under older perls it'll be Tie::RefHash::Weak instead (slower, but same behavior)
14
16 Under older perls this module provides a drop in compatible api to
17 Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is
18 available it will use that instead.
19
20 This way code requiring field hashes can benefit from fast, robust
21 field hashes on Perl 5.10 and newer, but still run on older perls that
22 don't ship with that module.
23
24 See Hash::Util::FieldHash for all the details of the API.
25
27 Hash::Util::FieldHash, Tie::RefHash, Tie::RefHash::Weak.
28
30 This module is maintained using Darcs. You can get the latest version
31 from <http://nothingmuch.woobling.org/code>, and use "darcs send" to
32 commit changes.
33
35 Yuval Kogman <nothingmuch@woobling.org>
36
38 Copyright (c) 2008 Yuval Kogman. All rights reserved
39 This program is free software; you can redistribute
40 it and/or modify it under the same terms as Perl itself.
41
42
43
44perl v5.12.0 2008-05-16 Hash::Util::FieldHash::Compat(3)