Here's what you need:
or something long those lines.$cgi->div({-id=>pagewrap}, ($index==0 ? $cgi->p("Hello") : $cgi->p() ) }
In reply to Re: Conditional statements in CGI/Div
by blue_cowdawg
in thread Conditional statements in CGI/Div
by slurch901
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |