you may consider to use a pod section for commenting out a code block. I have used these ways, maybe not good, but they can be used.:)
1) put the code block in a subroutine,and never call that routine. sub no_use { code block } 2) assign the code block to a variable, and never use that variable. my $no_use = <<'EOF'; code block EOF On Jan 16, 2008 4:09 AM, S.A. Birl <[EMAIL PROTECTED]> wrote: > Sometimes I find the need to comment out a block temporarily. > My roots go back to C where I could quickly throw a > #if 0 > #endif > > around a section of code to prevent a section of getting compiled. > is there something similar for PERL? > > > Thanks > Birl > > Please do not CC me responses to my own posts. > I'll read the responses on the list. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/