Tuesday July 15, 2003
09:07 AM
There is always something new to learn
Today I learned a variation of HERE-docs syntax I didn't know about before:
print <<;
text text text
text text text
print <<'';
text text text
text text text
I always thought that a stop word is required in HERE-docs.
Wow (Score:1)
That first one sure looks weird. I can't justify calling it a bug, but perldata clearly states
While I could argue that''is a legitimate string, I can't say the same for. (See that null string just before the period?)Re:Wow (Score:1)
Ilya Martynov (http://martynov.org/ [martynov.org])
But wait! There's more! (Score:1)
Re:But wait! There's more! (Score:1)