When I run my index.pl script from the command line I get the following
output:
print (...) interpreted as function at ./index.pl line 10.
Content-Type: text/html; charset=ISO-8859-1
Use of uninitialized value in concatenation (.) or string at ./index.pl
line 10.
Use of uninitialized value in concatenation (.) or string at ./index.pl
line 10.
<HTML>
<HEAD>
.... The rest is all good and dandy
Here's the code w/added line numbers for clarity:
1. #!/usr/bin/perl -wT
2.
3. use strict;
4. use CGI;
5.
6. my $q = new CGI;
7.
8. print $q->header ( "text/html" );
9.
10. print ( qq|
11. <HTML>
12. <HEAD>
.... blah blah blah
<!-- end of html --> | );
print $q->end_html ;
Am I missing a "use something::here"??
The output to a browser doesn't include the warnings, just the wanted
HTML. This question is for the pragmatist in me more than to correct an
error.
Thanks in advance to all who reply.
--
Though I'll admit readability suffers slightly...
-- Larry Wall in <[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]