http://www.perlmonks.org?node_id=304460


in reply to Block commenting

either get a decent text editor that will let you comment an entire region at once, or do something quick and dirty like:

if(0) { ... }

Replies are listed 'Best First'.
Re: Re: Block commenting
by sweetblood (Prior) on Nov 04, 2003 at 16:28 UTC
    Unfortunetly, we all don't get to work with just any text editor. I'm stuck with what they give me, but I do like your other suggestion. Thanks!
Re: Re: Block commenting
by sauoq (Abbot) on Nov 04, 2003 at 20:24 UTC

    Commenting out a region isn't the same as a multi-line comment, of course. Using if(0){ will work for (most) code but not for arbitrary text.

    -sauoq
    "My two cents aren't worth a dime.";