On Thu, Dec 4, 2008 at 10:20 AM, Jay Hannah
<jay@jays.net> wrote:
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.
Fix anything, or screw anything up majorly. :P
http://en.wikipedia.org/wiki/Newick_format
http://en.wikipedia.org/wiki/Lisp_programming_language
:)