in reply to Re: "if" and compound statement
in thread "if" and compound statement

As an aside, your example is not a good one, as two print statements can always be combined
If you're going to nitpick about examples, I'm going to nitpick about your use of always. If the default filehandle is tied, if autodie is enabled, or if strings are overloaded, combining the given statements can lead the different results.

Replies are listed 'Best First'.
Re^3: "if" and compound statement
by BrowserUk (Patriarch) on Feb 13, 2012 at 17:36 UTC

    Consider me duly chastened. Even though I only added the aside in an attempt to avoid the nitpickers :)


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?