[Rt-commit] r5584 - Scalar-Defer/lib/Scalar
audreyt at bestpractical.com
audreyt at bestpractical.com
Mon Jul 17 14:27:47 EDT 2006
Author: audreyt
Date: Mon Jul 17 14:27:47 2006
New Revision: 5584
Modified:
Scalar-Defer/lib/Scalar/Defer.pm
Log:
* misc fixup
Modified: Scalar-Defer/lib/Scalar/Defer.pm
==============================================================================
--- Scalar-Defer/lib/Scalar/Defer.pm (original)
+++ Scalar-Defer/lib/Scalar/Defer.pm Mon Jul 17 14:27:47 2006
@@ -68,12 +68,13 @@
=head2 lazy {...}
Like C<defer>, except the value is computed at most once. Subsequent
-evaluation will simly use the cached result.
+evaluation will simply use the cached result.
=head1 NOTES
Unlike the C<tie> based L<Data::Lazy>, this module operates on I<values>,
-not I<variables>. Therefore, assigning into C<$t> simply replaces the value.
+not I<variables>. Therefore, assigning into C<$dv> and C<$lv> above will
+simply replace the value, instead of triggering a C<STORE> method call.
The C<overload> based implementation also makes this module about 2x faster
than L<Data::Lazy>.
More information about the Rt-commit
mailing list