Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Block commenting

by thraxil (Prior)
on Nov 04, 2003 at 16:21 UTC ( #304460=note: print w/replies, xml ) Need Help??

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.

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304460]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-10-15 23:38 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (69 votes). Check out past polls.