summaryrefslogtreecommitdiff
path: root/lib/Variable/Disposition.pod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Variable/Disposition.pod')
-rw-r--r--lib/Variable/Disposition.pod12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Variable/Disposition.pod b/lib/Variable/Disposition.pod
index ab97eb0..630a2fb 100644
--- a/lib/Variable/Disposition.pod
+++ b/lib/Variable/Disposition.pod
@@ -1,3 +1,5 @@
+=encoding utf8
+
=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated. Please do not edit
this file, but rather the original, inline with Variable::Disposition
@@ -6,18 +8,12 @@ at lib/Variable/Disposition.pm
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.
-=encoding utf8
-
=cut
=head1 NAME
Variable::Disposition - helper functions for disposing of variables
-=head1 VERSION
-
-version 0.004
-
=head1 SYNOPSIS
use feature qw(say);
@@ -89,6 +85,9 @@ Holds a copy of the given L<Future> until it's marked ready, then releases our c
Does not use L</dispose>, since that could interfere with other callbacks attached
to the L<Future>.
+Since Future 0.36, this behaviour is directly available via the L<Future/retain> method,
+so it is recommended to use that instead of this function.
+
Returns the original L<Future>.
=head1 SEE ALSO
@@ -118,3 +117,4 @@ Tom Molesworth <cpan@perlsite.co.uk>
=head1 LICENSE
Copyright Tom Molesworth 2014-2015. Licensed under the same terms as Perl itself.
+