in reply to An empty list in boolean context?
so why should the condition succeed?
perl -e '$empty = (); print ("hi there\n") if \!$empty; __END__ hi there
perl -e '$empty = (); print ("hi there\n") if \!defined($empty);' __END__ hi there
PS: I am using \! to avoid my csh from interepreting it as a special shell character.
|
|---|