Hi guys
I updated my cgi.pm to the most recent version available. But this didn't
help.
I therefore did some more testing, if I write my script like this:
print $q->header,
$q->start_html(),
I'm not getting any meta tags at all and of course it doesn't get validated.
I then tried to i
rite.");
> } else {
> print hr, start_form; # hr() emits html horizontal rule:
> print p("Please select a flavor: ", textfield("flavor","mint"));
> print end_form, hr;
> }
>
>
> Thanks,
> bnegrao.
>
>
> - Original Message -
Hi Bruno
It's the "print q"-Statement, if you write it like this, it works:
#!/usr/bin/perl -w
use diagnostics;
use strict;
use CGI qw(:standard);
my $favorite = param("flavor");
print header, start_html("Hello Ice Cream"), h1("Hello Ice Cream");
if ($favorite) {
print q("Your favorite fla
Hi all
The following script displays a overwiev from a addresslist with links to
the details of each entry. With an iteration I create the no. of each row
that is being handed over to details.cgi. It all works perfectly well apart
from the fact that the html links that get displayed all have got
Hello
I'd like to print the country-column of the follwing csv-file:
eastwood;clint;usa
kinski;klaus;germany
wayne;john;usa
This is the script I wrote:
#!c:/perl/bin/perl -w
use diagnostics;
use strict;
open(ADDRESSLIST,";
close (ADDRESSLIST);
foreach (@list) {
@l
I found out what the problem is. If you write
$q->table({-border=>undef},
#caption('When Should You Eat Your Vegetables?'),
$q->Tr({-align=>CENTER,-valign=>TOP},
[
$q->th(['Vegetable', 'Breakfast','Lunch','Dinner']),
$q->td(['Tomatoes' , 'no'
Hi all
I'd like to generate a html page in a subroutine of my guestbook but I get a
syntax error pointing to the line where $q->end_html; is written as soon as
I include a table. If executed without the table, the script runs well. (the
table is copied from perldoc.cgi and its content will be rep