Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: What is $x{$y}?

by dave_the_m (Parson)
on Sep 10, 2012 at 19:12 UTC ( #992829=note: print w/ replies, xml ) Need Help??


in reply to Re: What is $x{$y}?
in thread What is $x{$y}?

Or strictly speaking, a hash %x of array refs.

Dave.


Comment on Re^2: What is $x{$y}?
Download Code
Re^3: What is $x{$y}?
by Riales (Hermit) on Sep 10, 2012 at 19:16 UTC
    Oops, you're right. Array is totally wrong. Making the change to the original post!
      How about $x{@y} then? How does that work?

      For instance, in a foreach $x(@y){} line of code.

        How about $x{@y} then? How does that work ... in a foreach $x(@y){} line of code.

        There is no  $x{@y} expression in the
            foreach $x(@y){}
        statement. In that statement,  $x is aliased to successive elements of the  @y array on each execution of the loop.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-07-29 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls