Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Conditional statements in CGI/Div

by slurch901 (Initiate)
on Jan 27, 2013 at 23:18 UTC ( #1015594=note: print w/ replies, xml ) Need Help??


in reply to Re: Conditional statements in CGI/Div
in thread Conditional statements in CGI/Div

Thanks everyone for your input but the only way I could solve it was instead of using the DIV statement with brackets was to use the alternative.

print $cgi->start_div({-id=>pagewrap}); if($index==0) {print "Hello";} print $cgi->end_div();


Comment on Re^2: Conditional statements in CGI/Div
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-07-13 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls