Delays hash generation. Unties the hash on first access, and replaces it by the generated one. Uses symbolic references, because circular ties make Perl go nuts :)
tie %Some::hash, 'PLP::Tie::Delay', 'Some::hash', sub { \%generated_hash };
This module is part of the PLP internals and probably not of any use to others.
To install PLP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PLP
CPAN shell
perl -MCPAN -e shell install PLP
For more information on module installation, please visit the detailed CPAN module installation guide.