You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Sun, 17 Jul 2016 11:26:25 -0700, sprout wrote:
The declared_refs feature, which is about to be merged into blead,
gives Perl 5.26.0 experimental support for declaring a reference to a
variable:
my \$x; # equivalent to \my $x
It is intended mainly for use in conjunction with refaliasing:
my \$x = \$y;
The documentation:
Beginning in v5.26.0, the referencing operator can come after C<my>,
C<state>, C<our>, or C<local>. This syntax must be enabled with C<use
feature 'declared_refs'>. It is experimental, and will warn by default
unless C<no warnings 'experimental::refaliasing'> is in effect.
Migrated from rt.perl.org#128654 (status was 'open')
Searchable as RT128654$
The text was updated successfully, but these errors were encountered: