metaperl> I'm wondering if anyone has ever found a practical use for the
    metaperl> else branch?

Yeah, I use it from time to time:

    for foo in bar:
        if foo matches some condition:
            print "sail to tahiti!"
            break
    else:
        print "abandon ship!"
        
Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to