in reply to Re: Lo, for i am blind
in thread Lo, for i am blind

Eh-eeeeeert! Wrong. C allows if(test) statement else statement;. Perl does not.

Replies are listed 'Best First'.
Re: Re: Re: Lo, for i am blind
by TVSET (Chaplain) on May 17, 2003 at 11:04 UTC
    Oops. :) I assume the code from the OP worked:
    if($on_off eq "on") print "Activated"; else print "Deactivated";
    Never used it myself, though. The world is full of wonders :)

    Leonid Mamtchenkov aka TVSET