2 replies
by mjhammer
Your article stated:
"The terminating string must start immediately after the double less-than sign, and it must appear alone on the ending line. There can be no white space on either side of the terminating string, and it must be unquoted on the ending line."
However, Perl will accept the string like this:
print <<" END_OF_STRING ";
Note though that your terminating string must match EXACTLY.
END_OF_STRING
includes all the whitespace in the header tag.
Bye! Mjhammer
by chanio
When compiling my code with some HTML inside, the compiler started to judge the HTML syntax that I used. It said that some words are reserved for future implementation in Perl...
I just omitted the " at the HERE variable and everything got solved.
If I were teaching something, I would also avoid commenting about some 'exceptions', at least in newbies environments.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending