[erlang-questions] block comments

PAILLEAU Eric eric.pailleau@REDACTED
Sat Jul 19 21:56:13 CEST 2014


Hi,

I remember a mail about Here Documents in Erlang, and found it :

http://erlang.org/pipermail/erlang-questions/2010-December/055118.html

MHO This would be a good idea for many uses, including multiline comments.

For instance, I personnally embed perldocs in bash scripts into Here 
documents.
The documentation is in scripts, human readable, follows versionning of 
the code, and man pages are created with pod2man.

http://bahut.alma.ch/2007/08/embedding-documentation-in-shell-script_16.html

Enjoy.
Regards



More information about the erlang-questions mailing list