Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Index number repeating in for loop

by hdb (Prior)
on Jun 28, 2013 at 21:27 UTC ( #1041349=note: print w/ replies, xml ) Need Help??


in reply to Index number repeating in for loop

You are confusing assignment and comparison.




Comment on Re: Index number repeating in for loop
Download Code
Replies are listed 'Best First'.
Re^2: Index number repeating in for loop
by LanX (Canon) on Jun 28, 2013 at 21:33 UTC
    > You are confusing assignment and comparison.

    to be precise compare eq vs == vs =

    see perlop#Equality Operators and perlop#Assignment Operators

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-09-02 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (79 votes), past polls