in reply to foreach and if inside <<ENDHTML? Can they work?
The sensible thing to do is get the processing out of the way first:
for(a..z){ $alphabet .= $_; } if ($x ne 'biteme'){ $printy_stuff = qq( <br>Services:<br> $FORM{'GraphicsDesign'}<br> $FORM{'Screenprinting'}<br> $FORM{'Digitizing'}<br> $FORM{'Embroidery'}<br> $FORM{'Manufacturing'}<br> ); } else { $printy_stuff = 'no input'; } print <<HERE Here's the alphabet: $alphabet Here's some graphics stuff if you entered anything: $printy_stuff HERE
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: foreach and if inside <<ENDHTML? Can they work?
by frogboy (Initiate) on Aug 13, 2003 at 05:55 UTC |