diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-05-29 14:29:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-07-17 11:27:02 -0700 |
commit | 5c70377968f8f6fcfa170e26ec8529cafb0f7ee0 (patch) | |
tree | 2fa2e575ebb70d494281b777bfaa693498007349 /regen/feature.pl | |
parent | 37690136cd4c7fd68adf555398dac9fea74bb54f (diff) | |
download | perl-5c70377968f8f6fcfa170e26ec8529cafb0f7ee0.tar.gz |
Update docs for declared_refs
Diffstat (limited to 'regen/feature.pl')
-rwxr-xr-x | regen/feature.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/regen/feature.pl b/regen/feature.pl index 78c7400e78..92655da614 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -665,6 +665,22 @@ See L<perlop/Bitwise String Operators> for details. This feature is available from Perl 5.22 onwards. +=head2 The 'declared_refs' feature + +B<WARNING>: This feature is still experimental and the implementation may +change in future versions of Perl. For this reason, Perl will +warn when you use the feature, unless you have explicitly disabled the +warning: + + no warnings "experimental::declared_refs"; + +This allows a reference to a variable to be declared with C<my>, C<state>, +our C<our>, or localized with C<local>. It is intended mainly for use in +conjunction with the "refaliasing" feature. See L<perlref/Declaring a +Reference to a Variable> for examples. + +This feature is available from Perl 5.26 onwards. + =head1 FEATURE BUNDLES It's possible to load multiple features together, using |