Tie::Hash::Blame - A hash that remembers where its keys were set
use Tie::Hash::Blame; my %hash; tie %hash, 'Tie::Hash::Blame';
Have you ever tried to track changes to a hash throughout a large program? It's hard, isn't it? This module makes things a little easier. Its intended use is for debugging, because ties are magic, and magic is evil.
Returns a hash reference containing the location of the last assignment to each hash key. The keys in the returned hash reference are the same as in the underlying hash; the values, however, are all hash references with two keys: 'filename' and 'line_no'.
Rob Hoelz <email@example.com>
This software is copyright (c) 2012 by Rob Hoelz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please report any bugs or feature requests on the bugtracker website https://github.com/hoelzro/tie-hash-blame/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.