Re: A way to comment out a block of code

2008-01-16 Thread Pat Rice
I always use an if debug option like below, its so handy, so that you can put all your debug output here. you can do different levels here too to make things really funky :) Pat On Jan 16, 2008 7:17 AM, Jeremy Kister <[EMAIL PROTECTED]> wrote: > On 1/15/2008 3:09 PM, S.A. Birl wrote: > > Sometime

Re: A way to comment out a block of code

2008-01-16 Thread Jenda Krynicky
From: "J. Peng" <[EMAIL PROTECTED]> > 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 t

Re: A way to comment out a block of code

2008-01-16 Thread John W. Krahn
S.A. Birl 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? No, but there is something for Perl[1]: perld

Re: A way to comment out a block of code

2008-01-15 Thread J. Peng
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 variab

Re: A way to comment out a block of code

2008-01-15 Thread Jeremy Kister
On 1/15/2008 3:09 PM, S.A. Birl 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 if(0){ [...] } -- Jeremy Kister http://jeremy.kister.net./ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm