RE: commenting script

2005-03-24 Thread Brian Raven
Eko Budiharto wrote: > I would like to ask about commenting script in perl. What I know to > comment out part of script in perl is use " # ". Now, my question is > how about if I would like to comment out 100 lines or more of script, > do I have to comment out line by line? I think it is preferabl

Re: commenting script

2005-03-23 Thread David Nicol
in vi there's always :.,+100s/^/# / but if your editor doesn't have legacy command line editing capability, a decent way to comment out a block of syntactically correct perl code is to enclose it in if(0){ ... }; another possibility is

Re: commenting script

2005-03-22 Thread $Bill Luebkert
Eko Budiharto wrote: > I would like to ask about commenting script in perl. What I know to > comment out part of script in perl is use " # ". Now, my question is how > about if I would like to comment out 100 lines or more of script, do I > have to comment out line by line? > What I mean is in Jav