![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Weird things...by Anonymous Monk |
on Jul 13, 2001 at 19:47 UTC ( [id://96447]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This is weird. I have some variables that won't show up in a required file. Example... turd.pl is an html document with surrounding print<<ENDHTML; ENDHTML things... whenever I run the program, the variable $name is never shown, and even though I see the html without the variables, I do see this error (which is repeated 3 times...) Use of uninitialized value in concatenation (.) at /turd.pl line 1. line one contains "print<<ENDHTML;" The Weird thing in all of this is that if i replace the require statement with exactly what is in the "required" file, everything works fine. Even though they are not required in this particular subroutine, I have multiple required files in this script, and all of them are working fine. I am at a loss. Any ideas? Edit: chipmunk 2001-07-13
Back to
Seekers of Perl Wisdom
|
|