Thanks for the good lesson. I don't disagree with you (or the others who have answered similarlY) at all.
in reply to Re: Code blocks with ternary operator or trailing conditionals
in thread Code blocks with ternary operator or trailing conditionals
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!!!