in reply to Conditional statements in CGI/Div
Here's what you need:
or something long those lines.$cgi->div({-id=>pagewrap}, ($index==0 ? $cgi->p("Hello") : $cgi->p() ) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Conditional statements in CGI/Div
by slurch901 (Initiate) on Jan 27, 2013 at 23:18 UTC |