![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Re: comment sectionsby rir (Vicar) |
on Apr 16, 2003 at 02:40 UTC ( [id://250760]=note: print w/replies, xml ) | Need Help?? |
I vote for using #s as I've stated elsewhere under the heading no pod & code.
Personally I find the desire or need to temporarily comment out fair sized blocks of code is a warning of impending danger or difficulty. And usually these style of comments are meant to be temporary. Often the trouble is so imminent that it has already arrived. Requiring commented code to be compilable seems like a feature to me. But I know what you mean. Quick update: The following is not what Abigail said. Abigail pointed out that you can't comment the entire BEGIN block this way. You can't. You can't comment out any other subroutine definition either. Or forward sub declaration. And you can comment out code in a begin block. Viz:
In Section
Seekers of Perl Wisdom
|
|