my $error = $usr ? '' : 'Gah! No usr supplied!'; print <<HTML; <html> <head> <body> <p><strong>Username <input type="text" name="textfield" /> </strong></p> <p> Password <input type="text" name="textfield2" /> </p> <p> <input type="submit" name="Submit" value="Submit" /> <div class="error">$error</div> </p> </body> </html> HTML
... for example, but yes templates would probably be much better.
In reply to Re^3: cgi error output
by hippo
in thread cgi error output
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |