http://www.perlmonks.org?node_id=1074127


in reply to Re: Code blocks with ternary operator or trailing conditionals
in thread Code blocks with ternary operator or trailing conditionals

Thanks for the good lesson. I don't disagree with you (or the others who have answered similarlY) at all.

My reason for asking was not out of coding "laziness" but rather to seek new grammatically *valid* tricks.

The cool thing about Perl is that I find more often than not that there are cleaner/better ways of doing things than are available in other C-like languages. Hence, my reason for asking - to learn. Thanks!!!
  • Comment on Re^2: Code blocks with ternary operator or trailing conditionals