ID: 21191 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows XP Pro/SP1 PHP Version: 4.2.3 New Comment:
rofl! Previous Comments: ------------------------------------------------------------------------ [2002-12-26 06:00:56] [EMAIL PROTECTED] #! c:/perl/bin/perl.exe -w # ######################### use strict; #print "Content-Type:text/plain\n\n"; print <<"END"; A B C DE F END^Z If you have the above simple script file you won't get it run! Instead, you will get error: Can't find string terminator "END" anywhere before EOF at C:\Perl\eg\test.pl line 9. Why? Note that the file ends immediately after the last word 'END'. There is NO new line after it! But, if you add a new line after 'END', the script runs well. That is: #! c:/perl/bin/perl.exe -w # ######################### use strict; #print "Content-Type:text/plain\n\n"; print <<"END"; A B C DE F END ^Z ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21191&edit=1