Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-06-2002, 06:22 AM   #1
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Perl print Multiline help!

I know that I am doing something fundamentally wrong with this code, but I have tried it at Uni and at home, both with the same error:

Can't find string terminator "END_of_Multiline_Text" anywhere before EOF at line 3.

The thing is, this code it straight from the Learning Perl book. Can someone please tell me what is going wrong! I'm tearing my hair out!!

#!/usr/local/bin/perl -w

print <<END_of_Multiline_Text;
Content-type: text/html

	<TITLE>Hello World</TITLE>

The perl path is correct BTW.

Last edited by CragStar; 02-06-2002 at 06:24 AM.
Old 02-06-2002, 08:48 AM   #2
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Original Poster
Rep: Reputation: 47
No need to worry, for some strange reason it now works....don't ask!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl: get quotas and print on webpage hamish Programming 1 01-19-2005 11:52 PM
Perl-how to print to file satimis Programming 4 11-17-2004 10:56 PM
Multiline GtkTextView in gtk+ 2.0 zer0python Programming 0 04-06-2004 09:33 PM
perl print double in proper format rajatgarg Programming 1 01-30-2004 12:57 PM
multiline pattern search in a file mimi Linux - General 1 09-01-2002 12:22 PM

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration