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

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

by AnomalousMonk (Chancellor)
on Sep 11, 2012 at 00:30 UTC ( #992882=note: print w/replies, xml ) Need Help??


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

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://992882]
help
Chatterbox?
[Discipulus]: I was trying to solve this but i'm not. my regex-fu is stuck at primary school

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-12-18 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (499 votes). Check out past polls.

    Notices?