Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Slicing with Arrow-Operator possible in 5.12?

by haoess (Curate)
on Dec 22, 2008 at 19:31 UTC ( [id://732177]=note: print w/replies, xml ) Need Help??


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

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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://732177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-29 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found