What is this statement doing? [closed]
I am guessing that this line: my $last = $last_game ? 1 : 0; is assigning 1 to $last if $last_game is true, otherwise $last gets 0. Am I correct?
0 upvotes
View original discussion ↗
I am guessing that this line: my $last = $last_game ? 1 : 0; is assigning 1 to $last if $last_game is true, otherwise $last gets 0. Am I correct?
Comments
Sign in or sign up to comment and upvote.
No comments yet.