| [reply] |
What are they?
How do you use them?
I use them every which way possible.
What are the differences with here docs?
I don't understand the question.
Besides that, I was wondering why -in general- people are tended to discourage the usage of here docs.
They're not. People are generally discouraged from using here docs as a replacement for a templating system, especially in continually evolving programs.
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |
Hmm... your reply is mainly about the here docs, where as my original post was mainly about there (here, there) docs.
That's why you don't understood my question :)
But I already got the answer (see below)
update: or maybe not... help! It's getting real confusing now! :)
| [reply] |
I see (on the points I missed). Well, I don't like source filters
The following works for me (:
print <<' INDENTED_';
blah blah blah blah bla
INDENTED_
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] [d/l] |
| [reply] |