in reply to Lo, for i am blind

Since pfaut and Limbic~Region did already point out the error, I'd like to add two small comments.

Leonid Mamtchenkov aka TVSET

Replies are listed 'Best First'.
Re: Re: Lo, for i am blind
by Anonymous Monk on May 17, 2003 at 09:03 UTC

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

      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