Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

by Riales (Hermit)
on Sep 10, 2012 at 19:16 UTC ( #992830=note: print w/ replies, xml ) Need Help??

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

Oops, you're right. Array is totally wrong. Making the change to the original post!

Comment on Re^3: What is $x{$y}?
Re^4: What is $x{$y}?
by invaderzard (Acolyte) on Sep 10, 2012 at 23:59 UTC
    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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2015-03-31 15:43 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (669 votes), past polls