printing block of text
From: Ged Murphy (MurphyG_at_cmpbatteries.co.uk)
Date: 09/30/04
- Next message: Randal L. Schwartz: "Re: (when) is the ; required?"
- Previous message: Randal L. Schwartz: "Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news."
- Next in thread: Gunnar Hjalmarsson: "Re: printing block of text"
- Reply: Gunnar Hjalmarsson: "Re: printing block of text"
- Maybe reply: Ged Murphy: "RE: printing block of text"
- Maybe reply: Ged Murphy: "RE: printing block of text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'beginners@perl.org'" <beginners@perl.org> Date: Thu, 30 Sep 2004 13:19:00 +0100
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?
Thanks.
************************************************************************
The information contained in this message or any of its
attachments is confidential and is intended for the exclusive
use of the addressee. The information may also be legally
privileged. The views expressed may not be company policy,
but the personal views of the originator. If you are not the
addressee, any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited.
If you have received this message in error, please contact
postmaster@exideuk.co.uk
<mailto:postmaster@exideuk.co.uk> and then delete this message.
Exide Technologies is an industrial and transportation battery
producer and recycler with operations in 89 countries.
Further information can be found at www.exide.com
- Next message: Randal L. Schwartz: "Re: (when) is the ; required?"
- Previous message: Randal L. Schwartz: "Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news."
- Next in thread: Gunnar Hjalmarsson: "Re: printing block of text"
- Reply: Gunnar Hjalmarsson: "Re: printing block of text"
- Maybe reply: Ged Murphy: "RE: printing block of text"
- Maybe reply: Ged Murphy: "RE: printing block of text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|