D
Dave
Hi,
I am using strict and warnings. I have also unsucessfully looked online
in google and perldocs on how to localize a filehandle (though I'm not
sure that is what I need to be doing). I get the following error when I
turn on diagnostics. :
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.0/UUMembers.pm line 362 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a
mistake.
To suppress this warning assign a defined value to your variables.
The corresponding code id:
361: print "Content-type: text/html\n\n";
362: print<<X;
363: <head>
364: X
What do I need to do in order to code this correctly? What is the
error? How do I define X to something?
I will have more html in between line 362 and 364, otherwise I would
have simply used a print command.
Thanks in advance,
Dave
I am using strict and warnings. I have also unsucessfully looked online
in google and perldocs on how to localize a filehandle (though I'm not
sure that is what I need to be doing). I get the following error when I
turn on diagnostics. :
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.0/UUMembers.pm line 362 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a
mistake.
To suppress this warning assign a defined value to your variables.
The corresponding code id:
361: print "Content-type: text/html\n\n";
362: print<<X;
363: <head>
364: X
What do I need to do in order to code this correctly? What is the
error? How do I define X to something?
I will have more html in between line 362 and 364, otherwise I would
have simply used a print command.
Thanks in advance,
Dave