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 version 0.11
11
13 use Hash::Util::FieldHash::Compat;
14
15 # pretend you are using L<Hash::Util::FieldHash>
16 # under older perls it'll be Tie::RefHash::Weak instead (slower, but same behavior)
17
19 Under older perls this module provides a drop-in compatible API to
20 Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is
21 available it will use that instead.
22
23 This way code requiring field hashes can benefit from fast, robust
24 field hashes on Perl 5.10 and newer, but still run on older perls that
25 don't ship with that module.
26
27 See Hash::Util::FieldHash for all the details of the API.
28
30 Hash::Util::FieldHash, Tie::RefHash, Tie::RefHash::Weak.
31
33 Bugs may be submitted through the RT bug tracker
34 <https://rt.cpan.org/Public/Dist/Display.html?Name=Hash-Util-FieldHash-
35 Compat> (or bug-Hash-Util-FieldHash-Compat@rt.cpan.org <mailto:bug-
36 Hash-Util-FieldHash-Compat@rt.cpan.org>).
37
39 יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
40
42 Karen Etheridge <ether@cpan.org>
43
45 This software is copyright (c) 2008 by יובל קוג'מן (Yuval Kogman).
46
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.36.0 2022-07-22 Hash::Util::FieldHash::Compat(3)