in reply to Re^6: Control Structures
in thread Control Structures

Sure, I could do it that way, but it's one more thing to remember, and since I don't actually need trailing if() for anything it's easier to just not use it. I tend to favor a coding style based on the fewest traps to remember and am willing to sacrifice lots of things that are cool but not really necessary in order to get there.

Replies are listed 'Best First'.
Re^8: Control Structures
by Anonymous Monk on May 10, 2005 at 21:04 UTC
    You tell them brother!
    import re re.sub(r'Perl[^A-Za-z]*', 'Python ', 'Perl6::Rules')