[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] CGI.pm & MacPerl (easy one I'm certain)



Ok folks,

The following code:

#!/usr/bin/perl -w

use CGI qw(:standard);

$query = new CGI;
$query->header();
$query->start_html();
$query->h1( "Header text");

print "<BR>test cgi stuff:";

$query->start_form;

$query->textfield(-name=>"State",
		-default=>'gaseous',
		-justification=>'RIGHT');

$query->end_form;

print $query->p("<BR>done with cgi test");
$query->end_html();

----------------------------------------------
produces the following output:

test cgi stuff



done with cgi test


----------------------------------------------
You can see the problem.  
No text field and no "Header text" text.  The same
problem occurs if I attempt to use the other html
generating functions.  

I'm sure its simple.  I hope you can help thanks!

I am using NetPresenz 4.1 on a Quadra 700 running MacOS 7.5.5
with 15Mb RAM allocated to NetPresenz and 3Mb RAM allocated
to MacPerl (v5.1.3r2).  

Cheers,
Richard Freytag

mailto:freytag@freytag.org



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch