in reply to if/unless and chaining

It's not very elegant, but irregardless, what about this:
unless (!not_disabled('dont_block_visitor')) { $confusion++; }

Replies are listed 'Best First'.
Re^2: if/unless and chaining
by Aristotle (Chancellor) on Nov 06, 2002 at 23:36 UTC
    $confusion-- unless !(not_disabled('dont_block_visitor') == 0); $confusion++;
    SCNR. :^)

    Makeshifts last the longest.

Re: Re: if/unless and chaining
by graff (Chancellor) on Nov 08, 2002 at 05:11 UTC
    It's not very elegant, but irregardless...

    I couldn't fail to disagree with you less.