develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128654] [EXPERIMENT] Declared references

Father Chrysostomos
July 17, 2016 18:26
[perl #128654] [EXPERIMENT] Declared references
Message ID:
# New Ticket Created by  Father Chrysostomos 
# Please include the string:  [perl #128654]
# in the subject line of all future correspondence about this issue. 
# <URL: >

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;


Father Chrysostomos Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About