I'm trying to print a block of code using 'print <<LABEL; but am getting an error stating perl can't find the termination label. Test code and error as follows:
#!/usr/bin/perl
print <<TEST; this is my tester text TEST
Can't find string terminator "TEST" anywhere before EOF at photo.pl line 3.
Anyone got any ideas as to why it's doing this?
perl is looking for a string terminator that looks like "\nTEST\n". Your editor may not be putting a newline at the end of the file. Try putting an extra one or two blank lines after the terminator.
John -- use Perl; program fulfillment
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>