I stopped using here-docs long ago. qq[ ... ] and similar span lines easily and have other advantages (and some fairly minor disadvantages) but have the significant advantage of not failing in the face of trailing whitespace. Trailing whitespace should never matter, and so here-docs are unacceptably fragile to me. The problems with leading spaces and simple misspelling of the terminator so easily resulting in quite confusing error messages are also good reasons to avoid them. :)
- tye
In reply to Re^3: Problems with sth->fetchrow array or another syntax error (JSN)
by tye
in thread Problems with sth->fetchrow array or another syntax error
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |