The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Variable::Lazy - Lazy variables

VERSION

Version 0.02

SYNOPSIS

 lazy my $var = { foo() }

DESCRIPTION

This module implements lazy variables. It's different from other similar modules in that it works completely transparant: there is no way to see from the outside that the variable was lazy, and there is no speed penalty once the variable has been evaluated.

CAVEATS

The reification is triggered more easily than most other laziness modules. Unlike other modules it doesn't use referential semantics, so assigning the value to an other variable triggers it. This is something to keep into account.

AUTHOR

Leon Timmermans, <leont at cpan.org>

BUGS

This is an early release, bugs are to be expected at this stage.

Please report any bugs or feature requests to bug-variable-lazy at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Variable-Lazy. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Variable::Lazy

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009 Leon Timmermans, all rights reserved.

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