Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: problem with foreach

by Jasper (Chaplain)
on Jun 16, 2006 at 11:37 UTC ( #555750=note: print w/ replies, xml ) Need Help??


in reply to Re^2: problem with foreach
in thread problem with foreach

You should remember that there _is_ a difference betwixt ++$b and $b++, however. ++$b doesn't have the nuisance of making a copy of its original value to return before incrementing, and therefore it's slightly less efficient if, as in this case, you don't need to know what that value was.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-07-29 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (259 votes). Check out past polls.