in reply to For Syntax Question
The latter takes a block {} and can be very complex. The former needs to pretty much be a single statement. You can use the low precendence operators like and/or to link a few but you strike out when you try and put conditionals like if in there.
So to answer your question: In each iteration of the loop, $_ (see perldoc perlvar) is replaced with the value (actually it is an alias) of the index being iterated over in @e. That value is being added to the current value of $fooCheers - L~R
|
|---|