The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Variable::Lazy::Guts - Variables that lazily initialize themselves

VERSION

Version 0.01

SYNOPSIS

lazy $self->{foo}, sub { return life_universe_everything(); }; ...do something else $self->{foo}->bar();

This is the module implementing the magic of Variable::Lazy. You should probably be using this yourselves. No kind of API stability is guaranteed.

FUNCTIONS

lazy($variable, $arguments, $subroutine)

AUTHOR

Leon Timmermans, <leont at cpan.org>

BUGS

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.