No such thing as a small change | |
PerlMonks |
Here docs throwing syntax error - can't find string terminatorby Popcorn Dave (Abbot) |
on May 29, 2007 at 22:13 UTC ( [id://618062]=perlquestion: print w/replies, xml ) | Need Help?? |
Popcorn Dave has asked for the wisdom of the Perl Monks concerning the following question:
Fellow monks,
I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Given this code snippet from Merlyn's website(Jan 97 column):
and this code example from CGI::AJAX
They're both failing with the error: Can't find string terminator anywhere before EOF, but obviously both string terminators are there. Perl version:v5.8.8 built for MSWin32-x86-multi-thread (with 33 registered patches, see perl -V for more detail) Am I just missing something obvious here? Thanks in advance!
Revolution. Today, 3 O'Clock. Meet behind the monkey bars.
I would love to change the world, but they won't give me the source code
Back to
Seekers of Perl Wisdom
|
|