The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Every decent Editor supports Regular Expression Search & Replace. So you can simply mark all lines you want to comment out and replace "^" by "#".
To remove the comments replace "^#" by "". That way one can also uncomment parts of the outcommented code again without ending up in a mess of "pseudo comment blocks". holli, /regexed monk/ In reply to Re: What is the easy way to comment out chunk of Perl Code
by holli
|
|