[Gllug] Am I being stupid?
Richard Turner
richard.turner at dlf.org.uk
Mon May 12 15:28:55 UTC 2003
> -----Original Message-----
> From: gllug-admin at linux.co.uk [mailto:gllug-admin at linux.co.uk] On
Behalf
> Of Ashley Evans
> Sent: 12 May 2003 4:12 pm
> To: gllug at linux.co.uk
> Subject: [Gllug] Am I being stupid?
>
> As the title says...
>
> --
> #!/usr/bin/perl -w
>
> print <<"EOF";
>
> hello
>
> EOF
>
> --
>
> gives: Can't find string terminator "EOF" anywhere before EOF at
./test
> line
> 3.
>
> I've read the info at "perldoc -q "<<"" but to no avail.
>
> Any ideas?
>
> Cheers,
>
> A. Evans
>
Try it without the quotes: EOF instead of "EOF".
Cheers,
Richard.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list