On Thu, 14 Sep 2000 10:52:16 -0700, Nathan Wiger wrote: >We already have q//, qq//, and qx// which duplicate their >functions far more flexibly. Question: Do we really need here docs? With your above functions, you always need to be able to escape the string end delimiter. Therefore, you will always have to escape backslashes. You don't need to escape backslashes, or anything else, in a single-quoted here-doc. Here-docs are extremely handy if you have to incorporate text from an external file, which perl is supposed to print out verbatim. Their disadvantage is that they'll always end with a newline. -- Bart.
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Tom Christiansen
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Glenn Linderman
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitesp... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Terminators (Was Whi... Ariel Scolnicov
- Re: RFC 111 (v3) Here Docs Terminators (Was... Dave Storrs
- Re: RFC 111 (v3) Here Docs Terminators (Was... Ariel Scolnicov
- Re: RFC 111 (v3) Here Docs Terminators (Was Whi... Michael G Schwern
- Drop here docs altogether? (was Re: RFC 111 (v3... Nathan Wiger
- Re: Drop here docs altogether? (was Re: RFC... Peter Scott
- Re: Drop here docs altogether? (was Re: RFC... Bart Lateur
- Re: Drop here docs altogether? (was Re: RFC... Glenn Linderman
- Re: Drop here docs altogether? (was Re: RFC... Glenn Linderman
- Re: Drop here docs altogether? (was Re: RFC... Michael G Schwern
- Re: Drop here docs altogether? (was Re: RFC... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Terminators (Was Whi... Glenn Linderman
- Re: RFC 111 (v3) Here Docs Terminators (Was... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Terminators (Was... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Terminators (Was... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Terminators (Was... Richard Proctor
- Re: RFC 111 (v3) Here Docs Terminators (Was... Michael G Schwern