Hi,
Not looking to start some pugilistic fray, but when is using heredoc
advisable over Double-Quotes?
Return True,
Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
http://bushidodeep.com/
__
Knowing is not enough, you must apply;
willing
Chris Kennon wrote:
Hi,
Not looking to start some pugilistic fray, but when is using heredoc
advisable over Double-Quotes?
Probably with really long strings or pages of data so you don't have to
worry about quotes etc.
Pretty much comes down to personal preference I think.
--
Postgresql
At 07:06 PM 3/15/2006, Chris Kennon wrote:
when is using heredoc advisable over Double-Quotes?
I love using heredoc primarily because it helps me separate logic
from markup when generating HTML. The text in a heredoc expression
is vanilla, no escape sequences needed, so there's less worry
3 matches
Mail list logo