http://learn.perl.org/books/beginning-perl/
But anyways right now I'm on "Here-documents" and I've copied it exactly like it says on the tutorial:
- Code: Select all
#!/usr/bin/perl
#heredoc.pl
use warnings;
print<<EOF;
This is a here-document. It starts on the line after the two arrows, and
it ends when the text following the arrows is found at the beginning of
a line, like this:
EOF
And I get the following error when I run it:
Can't find string terminator "EOF" anywhere before EOF at C:\perl_tests\heredoc.pl line 4
Thanks for your help!

