When using cgi.pm object oriented method, how do I assign a static value to
a variable and then output it? The test script that I listed below prints
all of the html tags with "Hello!Did it work?" (without the quotes) in the
paragraph tags. Also, in my error log there is the following error:
index.cgi: Use of uninitialized value in concatenation (.) or string at
index.cgi line 9.
==================================================
#!/usr/bin/perl -wT
use CGI;
use CGI::Carp 'fatalsToBrowser';
use strict;
my $q = new CGI;
my $test = $q->param("This is a test!");
print $q->header("text/html"),
$q->start_html,
$q->p("Hello!" . $test . "Did it work?"),
$q->end_html;
=================================================
Thanks for your help!
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]