Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: More than One Line Comment

by Roy Johnson (Monsignor)
on May 11, 2005 at 20:14 UTC ( #456144=note: print w/replies, xml ) Need Help??

in reply to Re: More than One Line Comment
in thread More than One Line Comment

If you can identify the beginning of the block yourself (and the opening brace is at the end of the line, as you stipulate), you can stick 0 and do { # in front of it and get the block commented out. It doesn't let you get away with syntax errors in it, but I would think that a block would have to be properly formed for block comments to work, anyway.
... 0 and do { #if (whatever) { ... } ... 0 and do { #while (whatever) { ... }

Caution: Contents may have been coded under pressure.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://456144]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-05-26 17:58 GMT
Find Nodes?
    Voting Booth?