P is for Practical | |
PerlMonks |
Re: Why do here-docs have to end with a newline, not EOF?by ambrus (Abbot) |
on May 12, 2008 at 18:18 UTC ( [id://686123]=note: print w/replies, xml ) | Need Help?? |
If an end of file instead of a newline would be allowed, then you could write (non-empty) perl quine in just 22 bytes. I suppose the developpers didn't want to tale the blame for adding one more language feature just for obfus.
In Section
Seekers of Perl Wisdom
|
|