in reply to Re^2: unless vs. bare block
in thread unless vs. bare block

 warn "can't open ... " unless open ...;

Replies are listed 'Best First'.
Re^4: unless vs. bare block
by BrowserUk (Patriarch) on May 10, 2012 at 05:44 UTC
    If is necessary to wear a crash helmet when riding a motorbike.
    You don't have to wear a crash helmet when riding a pushbike.

    Both true statements; the presence of 'bike' in both does not make them contradictory.

    Ditto: unless( cond ) { statement; } and statement unless cond;.


    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?