|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
At last, block comments in Perl 5.6 !by John M. Dlugosz (Monsignor) |
| on Nov 18, 2002 at 21:18 UTC ( [id://213916]=perlmeditation: print w/replies, xml ) | Need Help?? |
|
Don't you love it when something written as a joke actually proves useful for something? I came across the ACME::Don't module. It is used exactly like the do BLOCK function except that, instead of executing the block it controls, it...well...doesn't. It seems to me that you can use this to comment-out parts of code. When debugging, I sometimes knock out parts until the problem goes away. I realize it's not as general as lexer comments, but still, it's interesting.
Back to
Meditations
|
|
||||||||||||||||||||||||||||||||||||||||||||