hmbscully has asked for the wisdom of the Perl Monks concerning the following question:
I have this simple block of unremarkable code
if ($firstname4 ne "") { print <<SEC4_INFO; <p>$firstname4 $lastname4<br> $title4<br> phone: $phone4<br> email: $user_email4</p> SEC4_INFO }
Everytime I try to validate the script, it gives me the old "can't find string terminator before..." line. If I comment this out, the code validates fine, so it has to be this. But am I blind or do I not have the terminator line in there as it should be?? Is it something with the if statement that is making it not validate?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't find string terminator problem
by grinder (Bishop) on Apr 03, 2007 at 19:11 UTC |