in reply to Re^6: flip flop operator and if statement
in thread flip flop operator and if statement

In this code you are obviously always assigning 3.

What's the problem?

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

  • Comment on Re^7: flip flop operator and if statement

Replies are listed 'Best First'.
Re^8: flip flop operator and if statement
by iThunder (Beadle) on Sep 20, 2014 at 17:54 UTC
    Hi Rolf,

    i am trying to understand how these two statements

    if($p=3..5)

    vs

    if(($p=3)..5)

    are interpreted inside while loop of the code?

    Thanks
      athanasius already explained it in detail!