http://www.perlmonks.org?node_id=732177


in reply to Slicing with Arrow-Operator possible in 5.12?

You should start with this mail:
For 5.12: clean up dereferencing syntax for slices by Ovid.

-- Frank

  • Comment on Re: Slicing with Arrow-Operator possible in 5.12?

Replies are listed 'Best First'.
Re^2: Slicing with Arrow-Operator possible in 5.12?
by LanX (Saint) on Dec 22, 2008 at 22:35 UTC
    Thanks!

    Unfortunately there seem to be a compability conflict with hashes. For isntance $hr->{qw/this that/} already means $$hr{join $;,qw/this that/} !

    That's an old feature (perl4 ?) for multidimensional hashes $hash{"this","that"}!

    (for more see documentation for $; in perlop)

      You're looking for @{$hr}{qw/this that/}

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?