"Raymond Hettinger" <[EMAIL PROTECTED]> writes: > 2) When going back and forth between languages, it is easy to forget > that only Python returns something other than a boolean.
Perl certainly works the same way and I've never heared anybody have problems with that, but that might be because Perl do have the expr?v1:v2 triary operator as well. Most Perl programs use constructs like "a = v1 or v2 or v3" (or even "a ||= v") to its advantage. Regards, Gisle _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com