On Thu, 2004-09-30 at 15:39, Murphy, Ged (Bolton) wrote:
> >> 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?
> >
> >The here-document syntax is described in "perldoc perlop", and the
> >author of that part of the Perl docs had a couple of ideas.
> 
> I've been through the here-documentation in the perlop doc and it appears my
> syntax is correct.
> Does anyone have any ideas as to why I am getting this error?
> 
> Is it possible this is an interpreter error?
> I'm running activestate's perl, v5.8.0 built for MSWin32-x86-multi-thread
Hi,

your code works fine for my debian box.
--
[EMAIL PROTECTED]:~/Stuff$ perl -v

This is perl, v5.8.3 built for i386-linux-thread-multi
--

Gabaux


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to