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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: At last, block comments in Perl 5.6 !
by rob_au (Abbot) on Nov 18, 2002 at 21:59 UTC | |
|
Re: At last, block comments in Perl 5.6 !
by jryan (Vicar) on Nov 18, 2002 at 21:47 UTC | |
|
Re: At last, block comments in Perl 5.6 !
by princepawn (Parson) on Nov 18, 2002 at 21:34 UTC | |
by John M. Dlugosz (Monsignor) on Nov 18, 2002 at 21:44 UTC | |
|
Re: At last, block comments in Perl 5.6 !
by Juerd (Abbot) on Nov 19, 2002 at 23:50 UTC | |
|
Re: At last, block comments in Perl 5.6 !
by Aristotle (Chancellor) on Nov 20, 2002 at 00:24 UTC |