-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EXPERIMENT] reference syntax in variable declaration #15458
Comments
From @cpansproutThe 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; -- Father Chrysostomos |
From @tonycozOn Sun, 17 Jul 2016 11:26:25 -0700, sprout wrote:
The documentation: Beginning in v5.26.0, the referencing operator can come after C<my>, implies you can do: local \&foo = \&bar; which you can't. Of course, the above is equivalent to: local *foo = \&bar; Tony |
The RT System itself - Status changed from 'new' to 'open' |
Currently doesn't work with |
Migrated from rt.perl.org#128654 (status was 'open')
Searchable as RT128654$
The text was updated successfully, but these errors were encountered: