On Tue, 12 Mar 2002, Matthew Harrison wrote:
> #!/usr/bin/perl
> 
> use CGI qw/:standard/;
> $q = new CGI;
> print header();
> 
> $cookie = $q->cookie(-name=>'fontsize',
>                       -value=>'12',
>                       -expires=>'20s',

Matt:

You must print the output of CGI.pm to STDOUT. e.g., 

my $cookie = cookie(name => 'value');
print header($cookie),
        start_html(),
        h1('The Devil is in the details'), 
        end_html();

I suggest that you read ALL of the example code.

-- 
Eric P.
Los Gatos, CA


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to