develooper Front page | perl.beginners | Postings from October 2009

Re: Ternary operator

Thread Previous | Thread Next
Robert H
October 1, 2009 14:35
Re: Ternary operator
Message ID:
On 9/11/09 12:37 AM, Uri Guttman wrote:
> whenever you see an if/else where the code just assigns one or another
> value to the same variable that should be coded as a ternary op as this
> is what is it designed to do:

Awesome. That is a clear and concise reasoning that even my brain can 


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About