In my web surfing tonight I came upon a reference to this module:
http://search.cpan.org/~kane/Acme-Comment-1.02/lib/Acme/Comment.pm
I wonder how many Perlers actually use something like this? I always thought m-line comments to be handy.
Is Perl6 going to have multi-line comments?
Perl 6 comments (Score:1)
Re:Perl 6 comments (Score:1)
I think Perl6 should ditch # as a comment altogether. I much prefer the way OCaml does it:
Of course, with the Acme::Comment module I can set the comment as Bliss or Beta and get the same thing.
Re:Perl 6 comments (Score:1)
Travesty.
use orz (Score:1)
Now I use ingy's orz module. It's a source filter, but safely (?) compiled to a
'use orz' to start the comment. 'no orz' to end it.
orz is ascii art of a programmer brought to their knees by their code.
http://cpansearch.perl.org/~ingy/orz/ [perl.org]
Speaking of Acme::Comments.. (Score:1)
Re:Speaking of Acme::Comments.. (Score:1)
No multi-line comments (Score:1)
Don't use multi-line comments. If you have a piece of code that requires a multi-line comment, rewrite it so it doesn't need to many lines of comment.
Remember, the number 1 red flag for complicated code is the existence of a blob of comments.
Re:No multi-line comments (Score:1)