Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Lo, for i am blind

by Anonymous Monk
on May 17, 2003 at 09:03 UTC ( [id://258845]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://258845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found