develooper Front page | perl.perl5.porters | Postings from September 2013

documentation for new slice syntax

Thread Next
Karen Etheridge
September 21, 2013 00:34
documentation for new slice syntax
Message ID:

5.19.4's perldelta says:

    New slice syntax

    The new %hash{...} and %array[...] syntax returns a list of key/value (or
    index/value) pairs.

I have two concerns with this rather terse note: it doesn't specify whether
assignments are possible with this new syntax (assigning more than one
field at once), and there is no reference to further documentation on this
feature.  Presumably it is documented somewhere in perldelta and/or
perlsyn, so could a reference to the document and section be added?

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