[Gllug] Am I being stupid?

Jack Bertram jack at jbertram.net
Mon May 12 15:28:02 UTC 2003


* Ashley Evans <k0210244 at kingston.ac.uk> [030512 16:22]:
> 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?

Works here, as does the same script without the "" surrounding EOF.

jack


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list