Theodore Katseres wrote:
If you put parentheses in the right place you get what you want. cat t.pl print (((not defined $j) || 1) ? 'yes ' : 'no '); print (((not defined $j) or 1) ? 'yes ' : 'no '); print ((! defined $j || 1) ? 'yes ' : 'no '); print ((not defined $j or 1) ? 'yes ' : 'no ') yes yes yes yes
Awesome! Thanks! Truly, we can fix anything by adding enough parenthesis. http://en.wikipedia.org/wiki/Newick_format http://en.wikipedia.org/wiki/Lisp_programming_language :) j