Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: elseif syntax error

by jakobi (Pilgrim)
on Oct 27, 2009 at 14:18 UTC ( [id://803439]=note: print w/replies, xml ) Need Help??


in reply to elseif syntax error

Please re-check your indenting and curlies ({,}). If the problem still isn't visually obvious for you, show us your current code again and tell us what if the elsif should come after. In contrast to C, Perl uses always the curlies in if () {...} elsif (...) {...} else {...}.

cu & HTH, Peter -- hints may be untested unless stated otherwise; use with caution & understanding.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found