Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Lo, for i am blind

by pfaut (Priest)
on May 17, 2003 at 01:06 UTC ( #258812=note: print w/replies, xml ) Need Help??


in reply to Lo, for i am blind

Perl requires braces around code blocks on if statements.

elsif ($on_off eq "off") &Off(); else

should be

elsif ($on_off eq "off") { &Off(); } else
90% of every Perl application is already written.
dragonchild

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2021-03-04 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (108 votes). Check out past polls.

    Notices?